forked from MarseyWorld/MarseyWorld
master
parent
1b88d9726b
commit
be721995af
|
@ -503,7 +503,7 @@ def settings_images_profile(v):
|
|||
else: highres = upload_imgur(file=file)
|
||||
if not highres: abort(400)
|
||||
|
||||
if 'pcmemes.net' in request.host: imageurl = upload_ibb(file=file, resize=True)
|
||||
if 'pcmemes.net' in request.host: imageurl = upload_ibb(file=file2, resize=True)
|
||||
else: imageurl = upload_imgur(file=file2, resize=True)
|
||||
if not imageurl: abort(400)
|
||||
|
||||
|
|
Loading…
Reference in New Issue