From ea5b15d803f9fba3edd401fce0f6c0886c755246 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 2 Mar 2022 18:38:53 +0800 Subject: [PATCH] hide upload error message --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 309ab80..b93aba5 100755 --- a/server.py +++ b/server.py @@ -326,8 +326,8 @@ def upload(): images[name].save('user_uploads/' +name) except Exception as e: - print(e) - uploading = False +# print(e) + uploading = False return index() def remove_old_uploads():