[Sync] minor refactoring & code cleanup
This commit is contained in:
1 parent
8627db4ccd
commit
7b798b5610
5 files changed
+4
-8
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user