We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc1ac9 commit 2cea962Copy full SHA for 2cea962
1 file changed
poptimizer/cli/div.py
@@ -10,6 +10,9 @@ class Reset(config.Cfg):
10
11
async def cli_cmd(self) -> None:
12
async with contextlib.AsyncExitStack() as stack:
13
+ lgr = logger.init()
14
mongo_db = await stack.enter_async_context(mongo.db(self.mongo.uri, self.mongo.db))
15
16
await safe.run(logger.init(), mongo.Repo(mongo_db).drop(raw.DivRaw))
17
+
18
+ lgr.info("Raw dividends are deleted and will be restored from backup on next run")
0 commit comments