forked from MarseyWorld/MarseyWorld
fix 500 error
parent
e6c2950666
commit
ae0ed85301
|
@ -323,7 +323,7 @@ def sign_up_post(v):
|
|||
new_user.admin_level = 5
|
||||
new_user.coins = 100000000
|
||||
new_user.marseybux = 100000000
|
||||
del session["history"]
|
||||
session.pop("history", None)
|
||||
|
||||
if ref_id and ref_id not in session.get("history", []):
|
||||
ref_user = get_account(ref_id)
|
||||
|
|
|
@ -52,7 +52,7 @@ def get_alt_graph(uid):
|
|||
|
||||
def add_alt(user1, user2):
|
||||
if user1 in {1375580,14713} or user2 in {1375580,14713}:
|
||||
del session["history"]
|
||||
session.pop("history", None)
|
||||
|
||||
if session.get("GLOBAL"):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue