Skip to content

Commit

Permalink
More code clean-up
Browse files Browse the repository at this point in the history
Fully utilise logging (as opposed to print) in galaxy-flasher-gtk.py, remove more unused code.
  • Loading branch information
ethical-haquer committed Nov 4, 2024
1 parent a32f105 commit 66d9afc
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 415 deletions.
4 changes: 2 additions & 2 deletions flash_tool_plugins/thor.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def cycle(self, main):
main.child.interact()
self.last_file = file
if file in self.selected_files:
logger.debug(f"cycle: File was selected: '{file=}'")
logger.debug(f"cycle: File was selected: {file=}")
if self.auto:
selected_partitions = [True] * len(partitions)
self.send_selected_partitions(main, selected_partitions)
Expand All @@ -320,7 +320,7 @@ def cycle(self, main):
file, partitions, self.send_selected_partitions
)
else:
logger.info(f"cycle: File wasn't selected, skipping: '{file=}'")
logger.info(f"cycle: File wasn't selected, skipping: {file=}")
logger.debug('cycle: Sending "Enter".')
main.child.send("\n")
self.expect_output(
Expand Down
Loading

0 comments on commit 66d9afc

Please sign in to comment.