Commit 1ae8107b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

upload command supports python3

parent aa9a83ad
...@@ -87,7 +87,7 @@ class NetworkCache: ...@@ -87,7 +87,7 @@ class NetworkCache:
else: else:
key = self.directory_key key = self.directory_key
file_descriptor = open(path, 'r') file_descriptor = open(path, 'rb')
if not (self.dir_url and self.cache_url): if not (self.dir_url and self.cache_url):
raise ValueError("upload-dir-url and/or upload-cache-url is not defined") raise ValueError("upload-dir-url and/or upload-cache-url is not defined")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment