diff --git a/db.py b/db.py index 5ec5b6d2..9b96994e 100644 --- a/db.py +++ b/db.py @@ -522,8 +522,6 @@ class Discord(Base): @staticmethod def create(session: Session, royal_username, discord_user: DiscordUser): - # TODO: remove this - print("Discord.create is deprecated and should be removed soon.") d = session.query(Discord).filter(Discord.discord_id == discord_user.id).first() if d is not None: raise AlreadyExistingError(repr(d)) diff --git a/statsupdate.py b/statsupdate.py index a1860197..4477f80b 100644 --- a/statsupdate.py +++ b/statsupdate.py @@ -101,6 +101,7 @@ def new_lol_rank(item, change: typing.Tuple[Dirty]): def process(): while True: session = db.Session() + logger.info("Now updating Steam data.") update_block(session, session.query(db.Steam).all()) session.commit()