mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Improve newuser
This commit is contained in:
parent
33036a69e0
commit
080f53ccb0
1 changed files with 12 additions and 12 deletions
24
newuser.py
24
newuser.py
|
@ -13,18 +13,18 @@ except Exception as e:
|
|||
print(e)
|
||||
else:
|
||||
session.add(steam)
|
||||
try:
|
||||
dota = db.Dota.create(session, steam.steam_id)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
else:
|
||||
session.add(dota)
|
||||
try:
|
||||
rl = db.RocketLeague.create(session, steam.steam_id)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
else:
|
||||
session.add(rl)
|
||||
try:
|
||||
dota = db.Dota.create(session, steam.steam_id)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
else:
|
||||
session.add(dota)
|
||||
try:
|
||||
rl = db.RocketLeague.create(session, steam.steam_id)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
else:
|
||||
session.add(rl)
|
||||
try:
|
||||
osu = db.Osu.create(session, user.id, input("Osu! username: "))
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue