master
Aevann1 2021-09-02 15:18:04 +02:00
parent d010cc20d0
commit 2bbc7e1468
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def upload_file(file=None, resize=False, png=False):
url = url.replace(".png", "_d.png").replace(".jpg", "_d.jpg").replace(".jpeg", "_d.jpeg")
if "_d." in url: url += "?maxwidth=9999"
except:
print(req.json())
if req: print(req.json())
return
new_image = Image(text=url, deletehash=resp["deletehash"])