Skip to content

Commit b50da83

Browse files
committed
remove function argument from poll
1 parent 24cf503 commit b50da83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gs/backend/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
if len(argv) == 2:
1919
COM_PORT = argv[1]
2020
shell = GroundStationShell(COM_PORT)
21-
21+
2222

2323
class CliPanel(ScrollableContainer):
2424
"""

gs/backend/ground_station_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def do_print_logs(self, line: str) -> None:
146146
# Here we run the function and catch an interrupt if it is executed by the user
147147
try:
148148
# We use lambda so that the poll function can acquire updated stop_printing values later
149-
poll(self._com_port, LOG_PATH, 1, True, lambda: self.stop_printing)
149+
poll(self._com_port, LOG_PATH, 1, lambda: self.stop_printing)
150150
except KeyboardInterrupt:
151151
print("Exiting polling...")
152152
finally:

0 commit comments

Comments
 (0)