dev@locazia: fix misprint
This commit is contained in:
parent
f4b77f38e4
commit
805e37bfd0
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue