master
Aevann1 2021-08-23 21:15:42 +02:00
parent 304606ca0b
commit 9a0159eb50
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ def check_for_alts(current_id):
continue
for a in otheralts:
try:
new_alt = Alt(user1=a.user1, user2=past_id)
new_alt = Alt(user1=a.user1, user2=current_id)
g.db.add(new_alt)
g.db.flush()
except Exception as e:
@ -76,7 +76,7 @@ def check_for_alts(current_id):
continue
for a in otheralts:
try:
new_alt = Alt(user1=a.user2, user2=past_id)
new_alt = Alt(user1=a.user2, user2=current_id)
g.db.add(new_alt)
g.db.flush()
except Exception as e: