log complete update

This commit is contained in:
2023-04-07 10:13:45 +10:00
parent 132096b427
commit e421bd1de9

1
bot.py
View File

@ -33,6 +33,7 @@ def _update_db():
games.append(line.strip())
sp.run(["./index.py", "-o", _DB] + games)
shutil.move(_DB, _DB_DEST)
_log.info("updated db")
except:
_log.exception(f"failed updating db")