This commit is contained in:
Aevann1 2021-08-23 21:15:42 +02:00
parent 89d46ab640
commit a420d7959a

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: