From 18210e2d54136a18b4ccf013cfa9971a797ddb47 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 10 Sep 2023 18:56:47 +0300 Subject: Add ScraperSourcePlugin --- aggro.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'aggro.py') diff --git a/aggro.py b/aggro.py index b57058b..63ec9ef 100644 --- a/aggro.py +++ b/aggro.py @@ -79,15 +79,15 @@ if __name__ == "__main__": memory_state.running = True + server_thread = Thread(target=run_server_thread, args=[aggro_config]) + server_thread.daemon = True + server_thread.start() + manager.initial_run_scheduled_plugins() plugin_thread = Thread(target=run_plugin_thread, args=[manager, aggro_config]) plugin_thread.start() - server_thread = Thread(target=run_server_thread, args=[aggro_config]) - server_thread.daemon = True - server_thread.start() - try: while memory_state.running: time.sleep(0.1) -- cgit v1.3