forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-03 16:42:18 +02:00
parent 8a7fc4adae
commit 424b8cdb5e
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ 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()