hide upload error message

This commit is contained in:
Justin 2022-03-02 18:38:53 +08:00 committed by GitHub
parent 182316f6ed
commit ea5b15d803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,8 +326,8 @@ def upload():
images[name].save('user_uploads/' +name) images[name].save('user_uploads/' +name)
except Exception as e: except Exception as e:
print(e) # print(e)
uploading = False uploading = False
return index() return index()
def remove_old_uploads(): def remove_old_uploads():