From 6fb610582df07b308d862f1af68fd922f9593ccd Mon Sep 17 00:00:00 2001 From: Hemna Date: Sat, 13 Nov 2021 09:56:19 -0500 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ aprsd/cmds/dev.py | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0a1521d..0e59cad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ CHANGES ======= +v2.5.3 +------ + +* Fix admin logging tab + v2.5.2 ------ diff --git a/aprsd/cmds/dev.py b/aprsd/cmds/dev.py index 8c372d6..2568b8d 100644 --- a/aprsd/cmds/dev.py +++ b/aprsd/cmds/dev.py @@ -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: