Skip to content

Commit 38b163f

Browse files
authored
move logger init to the end of the import block for mesh_interface
1 parent af4947d commit 38b163f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

meshtastic/mesh_interface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
import google.protobuf.json_format
2020

21-
logger = logging.getLogger(__name__)
22-
2321
try:
2422
import print_color # type: ignore[import-untyped]
2523
except ImportError as e:
@@ -49,6 +47,7 @@
4947
stripnl,
5048
)
5149

50+
logger = logging.getLogger(__name__)
5251

5352
def _timeago(delta_secs: int) -> str:
5453
"""Convert a number of seconds in the past into a short, friendly string

0 commit comments

Comments
 (0)