master
Aevann1 2021-07-23 18:08:16 +02:00
parent 2f6f2a20ad
commit bd570f0863
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def upload_file(name, file, resize=None):
print(e)
print(req)
print(req.text)
if "File type invalid" in req.text: return "sex"
if "File type invalid" in str(req.text): return "sex"
else: return
new_image = Image(