Skip to content

Commit

Permalink
Fixed pep8 failure on counter.py
Browse files Browse the repository at this point in the history
this patch fixes small pep8 issues on the updated
counter.py
  • Loading branch information
hemna committed Nov 21, 2024
1 parent c82e9ba commit 1eaa4b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aprsd/utils/counter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import random
import threading

import wrapt


MAX_PACKET_ID = 9999


class PacketCounter:
"""
Global Packet ID counter class.
Expand Down Expand Up @@ -48,4 +51,4 @@ def __repr__(self):
@wrapt.synchronized(lock)
def __str__(self):
"""String representation of the current value."""
return str(self._val)
return str(self._val)

0 comments on commit 1eaa4b8

Please sign in to comment.