fd
This commit is contained in:
parent
922d950cb9
commit
ac0b7d41cf
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue