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)