Skip to content

Commit e972fc8

Browse files
committed
swapping out print() for logging.info()
1 parent 7c09dc1 commit e972fc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/seedsigner/gui/screens/screen.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import time
23

34
from dataclasses import dataclass, field
@@ -15,6 +16,8 @@
1516
from seedsigner.models.settings import SettingsConstants
1617
from seedsigner.models.threads import BaseThread, ThreadsafeCounter
1718

19+
logger = logging.getLogger(__name__)
20+
1821

1922
# Must be huge numbers to avoid conflicting with the selected_button returned by the
2023
# screens with buttons.
@@ -450,7 +453,7 @@ def _run(self):
450453
while True:
451454
ret = self._run_callback()
452455
if ret is not None:
453-
print("Exiting ButtonListScreen due to _run_callback")
456+
logging.info("Exiting ButtonListScreen due to _run_callback")
454457
return ret
455458

456459
user_input = self.hw_inputs.wait_for(

0 commit comments

Comments
 (0)