Skip to content

Commit

Permalink
silly encoding bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed May 5, 2020
1 parent c9735c3 commit 0227318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydrive2/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def download(fd, request):
if mimetype in bom
]
if boms:
self._RemovePrefix(fd, boms[0].encode("utf8"))
self._RemovePrefix(fd, boms[0])

@LoadAuth
def FetchMetadata(self, fields=None, fetch_all=False):
Expand Down

0 comments on commit 0227318

Please sign in to comment.