1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-18 21:58:44 -04:00

Fixed dev command missing initialization

This patch fixes a few issues when running test-plugin command.
It was missing some initialization of the stats and packets classes.
This commit is contained in:
2021-11-13 09:56:19 -05:00
parent bda2ef00dd
commit 6fb610582d
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -1,6 +1,11 @@
CHANGES
=======
v2.5.3
------
* Fix admin logging tab
v2.5.2
------
+5 -1
View File
@@ -8,7 +8,7 @@ import logging
import click
# local imports here
from aprsd import cli_helper, client, plugin
from aprsd import cli_helper, client, messaging, packets, plugin, stats
from ..aprsd import cli
@@ -80,6 +80,10 @@ def test_plugin(
if type(message) is tuple:
message = " ".join(message)
client.Client(config)
stats.APRSDStats(config)
messaging.MsgTrack(config=config)
packets.WatchList(config=config)
packets.SeenList(config=config)
pm = plugin.PluginManager(config)
if load_all: