forked from rDrama/rDrama
master
parent
30f7fd95a2
commit
4f068a1ec4
|
@ -501,7 +501,7 @@ def settings_images_profile(v):
|
||||||
if request.headers.get("cf-ipcountry") == "T1": return "Image uploads are not allowed through TOR.", 403
|
if request.headers.get("cf-ipcountry") == "T1": return "Image uploads are not allowed through TOR.", 403
|
||||||
|
|
||||||
file = request.files["profile"]
|
file = request.files["profile"]
|
||||||
filepath = f"image.webp"
|
filepath = "image.webp"
|
||||||
file.save(filepath)
|
file.save(filepath)
|
||||||
|
|
||||||
if 'pcmemes.net' in request.host: highres = upload_ibb()
|
if 'pcmemes.net' in request.host: highres = upload_ibb()
|
||||||
|
|
Loading…
Reference in New Issue