fdfd
This commit is contained in:
parent
89d46ab640
commit
a420d7959a
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ def check_for_alts(current_id):
|
||||||
continue
|
continue
|
||||||
for a in otheralts:
|
for a in otheralts:
|
||||||
try:
|
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.add(new_alt)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -76,7 +76,7 @@ def check_for_alts(current_id):
|
||||||
continue
|
continue
|
||||||
for a in otheralts:
|
for a in otheralts:
|
||||||
try:
|
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.add(new_alt)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue