mirror of
https://github.com/craigerl/aprsd.git
synced 2025-08-16 20:02:26 -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:
parent
bda2ef00dd
commit
6fb610582d
@ -1,6 +1,11 @@
|
|||||||
CHANGES
|
CHANGES
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
v2.5.3
|
||||||
|
------
|
||||||
|
|
||||||
|
* Fix admin logging tab
|
||||||
|
|
||||||
v2.5.2
|
v2.5.2
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import logging
|
|||||||
import click
|
import click
|
||||||
|
|
||||||
# local imports here
|
# local imports here
|
||||||
from aprsd import cli_helper, client, plugin
|
from aprsd import cli_helper, client, messaging, packets, plugin, stats
|
||||||
|
|
||||||
from ..aprsd import cli
|
from ..aprsd import cli
|
||||||
|
|
||||||
@ -80,6 +80,10 @@ def test_plugin(
|
|||||||
if type(message) is tuple:
|
if type(message) is tuple:
|
||||||
message = " ".join(message)
|
message = " ".join(message)
|
||||||
client.Client(config)
|
client.Client(config)
|
||||||
|
stats.APRSDStats(config)
|
||||||
|
messaging.MsgTrack(config=config)
|
||||||
|
packets.WatchList(config=config)
|
||||||
|
packets.SeenList(config=config)
|
||||||
|
|
||||||
pm = plugin.PluginManager(config)
|
pm = plugin.PluginManager(config)
|
||||||
if load_all:
|
if load_all:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user