forked from rDrama/rDrama
master
parent
8a7fc4adae
commit
424b8cdb5e
|
@ -94,7 +94,8 @@ def settings_profile_post(v):
|
||||||
|
|
||||||
# check for uploaded image
|
# check for uploaded image
|
||||||
if request.files.get('file') and request.headers.get("cf-ipcountry") != "T1":
|
if request.files.get('file') and request.headers.get("cf-ipcountry") != "T1":
|
||||||
|
|
||||||
|
print("sex")
|
||||||
#check file size
|
#check file size
|
||||||
if request.content_length > 16 * 1024 * 1024:
|
if request.content_length > 16 * 1024 * 1024:
|
||||||
g.db.rollback()
|
g.db.rollback()
|
||||||
|
|
Loading…
Reference in New Issue