[Sync] minor refactoring & code cleanup

This commit is contained in:
Roman Timashev committed 2017-10-13 17:39:07 +03:00
1 parent 8627db4ccd
commit 7b798b5610
5 files changed
+4 -8

No files matched your search

-2
View File
@@ -14,8 +14,6 @@ async def upload(url, path):
if not settings.upload_enabled:
return url
# urlf = 'https://static.shlisselburg.org/upload/art{}'
files = {'file': open(path, 'rb')}
r = requests.put(
url=url,