diff --git a/newuser.py b/newuser.py index 7e1945a8..e682fd79 100644 --- a/newuser.py +++ b/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: