From 1eaa4b8e10f12ba8fe17b0cee44d6dee4a5689aa Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 21 Nov 2024 09:08:57 -0500 Subject: [PATCH] Fixed pep8 failure on counter.py this patch fixes small pep8 issues on the updated counter.py --- aprsd/utils/counter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aprsd/utils/counter.py b/aprsd/utils/counter.py index ab3f73f4..4bcc3205 100644 --- a/aprsd/utils/counter.py +++ b/aprsd/utils/counter.py @@ -1,9 +1,12 @@ import random import threading + import wrapt + MAX_PACKET_ID = 9999 + class PacketCounter: """ Global Packet ID counter class. @@ -48,4 +51,4 @@ def __repr__(self): @wrapt.synchronized(lock) def __str__(self): """String representation of the current value.""" - return str(self._val) \ No newline at end of file + return str(self._val)