diff --git a/app/login.py b/app/login.py index c90706c..bb6a4f0 100644 --- a/app/login.py +++ b/app/login.py @@ -40,7 +40,10 @@ def send_cookie(login): print(c) sql.write_user_uuid(login, user_uuid) sql.write_user_token(login, user_token) - funct.logging('locahost', sql.get_user_name_by_uuid(user_uuid)+' log in') + try: + funct.logging('locahost', sql.get_user_name_by_uuid(user_uuid)+' log in') + except: + pass print("Content-type: text/html\n") print('ok') sys.exit()