1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Improve newuser

This commit is contained in:
Steffo 2018-06-05 12:33:26 +02:00
parent 33036a69e0
commit 080f53ccb0

View file

@ -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: