Skip to content

Commit

Permalink
Properly encode Windows paths in Dropbox backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier committed Apr 15, 2017
1 parent ee0e575 commit e52a127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storages/backends/dropbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, oauth2_access_token=None, root_path=None):
def _full_path(self, name):
if name == '/':
name = ''
return safe_join(self.root_path, name)
return safe_join(self.root_path, name).replace('\\', '/')

def delete(self, name):
self.client.file_delete(self._full_path(name))
Expand Down

0 comments on commit e52a127

Please sign in to comment.