1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-18 06:11:49 -05:00

PEP8 cleanup

This commit is contained in:
Hemna 2021-10-20 14:10:54 -04:00
parent 4233827dea
commit 135e21cd8d
2 changed files with 4 additions and 5 deletions

View File

@ -240,10 +240,10 @@ def test_plugin(
LOG.info(f"P'{plugin_path}' F'{fromcall}' C'{message}'")
for x in range(number):
reply = pm.run(packet)
# Plugin might have threads, so lets stop them so we can exit.
# obj.stop_threads()
LOG.info(f"Result{x} = '{reply}'")
reply = pm.run(packet)
# Plugin might have threads, so lets stop them so we can exit.
# obj.stop_threads()
LOG.info(f"Result{x} = '{reply}'")
pm.stop()

View File

@ -66,7 +66,6 @@ class ObjectStoreMixin:
)
self.flush()
def load(self):
if os.path.exists(self._save_filename()):
raw = pickle.load(open(self._save_filename(), "rb"))