mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-20 00:26:04 -05: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:
parent
bda2ef00dd
commit
6fb610582d
@ -1,6 +1,11 @@
|
||||
CHANGES
|
||||
=======
|
||||
|
||||
v2.5.3
|
||||
------
|
||||
|
||||
* Fix admin logging tab
|
||||
|
||||
v2.5.2
|
||||
------
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user