log complete update
This commit is contained in:
parent
132096b427
commit
e421bd1de9
1
bot.py
1
bot.py
@ -33,6 +33,7 @@ def _update_db():
|
|||||||
games.append(line.strip())
|
games.append(line.strip())
|
||||||
sp.run(["./index.py", "-o", _DB] + games)
|
sp.run(["./index.py", "-o", _DB] + games)
|
||||||
shutil.move(_DB, _DB_DEST)
|
shutil.move(_DB, _DB_DEST)
|
||||||
|
_log.info("updated db")
|
||||||
except:
|
except:
|
||||||
_log.exception(f"failed updating db")
|
_log.exception(f"failed updating db")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user