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