dev@locazia: fix misprint

This commit is contained in:
user 2024-03-06 10:48:04 +03:00
parent f4b77f38e4
commit 805e37bfd0
1 changed files with 3 additions and 4 deletions

View File

@ -69,10 +69,9 @@ if __name__ == '__main__':
if startup_target == '__main__':
app.ctx.memory = Memory()
app.ctx.memory._telegram_bot = Bot(TELEGRAM_API_KEY)
for _target in [uploader_bot_dp, client_bot_dp]:
_target._s_memory = app.ctx.memory
uploader_bot_dp._s_memory = app.ctx.memory
client_bot_dp._s_memory = app.ctx.memory
app.ctx.memory._app = app
app.add_task(execute_queue(app))