1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-07-31 04:42:25 -04:00

Fixed pep8 failure on counter.py

this patch fixes small pep8 issues on the updated
counter.py
This commit is contained in:
Hemna 2024-11-21 09:08:57 -05:00
parent c82e9ba597
commit 1eaa4b8e10

View File

@ -1,9 +1,12 @@
import random import random
import threading import threading
import wrapt import wrapt
MAX_PACKET_ID = 9999 MAX_PACKET_ID = 9999
class PacketCounter: class PacketCounter:
""" """
Global Packet ID counter class. Global Packet ID counter class.
@ -48,4 +51,4 @@ class PacketCounter:
@wrapt.synchronized(lock) @wrapt.synchronized(lock)
def __str__(self): def __str__(self):
"""String representation of the current value.""" """String representation of the current value."""
return str(self._val) return str(self._val)