aboutsummaryrefslogtreecommitdiffstats
path: root/aggro.py
diff options
context:
space:
mode:
Diffstat (limited to 'aggro.py')
-rw-r--r--aggro.py8
1 files changed, 4 insertions, 4 deletions
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)