fix
This commit is contained in:
parent
2506b7a7a0
commit
ba6b903c57
@ -12,6 +12,7 @@ class Daemon(base.Daemon):
|
|||||||
self.telegram_pollers: dict[str, dict[str, multiprocessing.Process|None]] = {}
|
self.telegram_pollers: dict[str, dict[str, multiprocessing.Process|None]] = {}
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
|
while True:
|
||||||
bots = platform.platform_client.get_config('bots')
|
bots = platform.platform_client.get_config('bots')
|
||||||
for project_name, project in bots.items():
|
for project_name, project in bots.items():
|
||||||
if project_name not in self.telegram_pollers:
|
if project_name not in self.telegram_pollers:
|
||||||
|
Loading…
Reference in New Issue
Block a user