remotes/1693045480750635534/spooky-22
Aevann1 2021-09-12 02:08:29 +02:00
parent 203fb0ef69
commit 5e7a634a1c
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def upload_ibb(filepath=None, file=None, resize=False):
url = resp['url']
except Exception as e:
print(e)
if req: print(req.json())
print(req.text)
return
return url
@ -102,7 +102,7 @@ def upload_imgur(filepath=None, file=None, resize=False):
if "_d." in url: url += "?maxwidth=9999"
except Exception as e:
print(e)
if req: print(req.json())
print(req.text)
return
new_image = Image(text=url, deletehash=resp["deletehash"])