master
Aevann1 2022-02-26 17:46:23 +02:00
parent e0d95cf749
commit 9a2a972277
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ def merge(v, id1, id2):
with open('verified', 'r') as f: with open('verified', 'r') as f:
verified = int(f.read()) verified = int(f.read())
if time.time() - verified > 10: if time.time() - verified > 20:
session.pop("session_id", None) session.pop("session_id", None)
session.pop("lo_user", None) session.pop("lo_user", None)
with open('verified', 'w') as f: with open('verified', 'w') as f:
@ -89,7 +89,7 @@ def merge_all(v, id):
with open('verified', 'r') as f: with open('verified', 'r') as f:
verified = int(f.read()) verified = int(f.read())
if time.time() - verified > 10: if time.time() - verified > 20:
session.pop("session_id", None) session.pop("session_id", None)
session.pop("lo_user", None) session.pop("lo_user", None)
with open('verified', 'w') as f: with open('verified', 'w') as f: