1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-01 21:54:42 -04:00

Fixed issue at startup with notify plugin

Ensure that the aprsis client is configured prior to starting
any plugins.
This commit is contained in:
2021-09-02 09:54:13 -04:00
parent 0f6df5fc05
commit 1ea6c05dec
+4 -4
View File
@@ -459,10 +459,6 @@ def server(
trace.setup_tracing(["method", "api"])
stats.APRSDStats(config)
# Create the initial PM singleton and Register plugins
plugin_manager = plugin.PluginManager(config)
plugin_manager.setup_plugins()
if config["aprs"].get("enabled", True):
try:
cl = client.Client(config)
@@ -481,6 +477,10 @@ def server(
" for setups without internet connectivity.",
)
# Create the initial PM singleton and Register plugins
plugin_manager = plugin.PluginManager(config)
plugin_manager.setup_plugins()
# Now load the msgTrack from disk if any
if flush:
LOG.debug("Deleting saved MsgTrack.")