Skip to content

Commit

Permalink
Minor refactor group related statements for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalo-bulnes committed Jan 26, 2023
1 parent fbe4085 commit 6d08613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion securedrop_client/gui/conversation/export/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def __init__(self, export_disk: Disk, file_location: str, file_name: str) -> Non

self._show_starting_instructions()
self.start_animate_header()
self._export_disk.check_status_once_on(self.disk_status_check_requested)
self._export_disk.export_on(self.file_export_requested)
self._export_disk.check_status_once_on(self.disk_status_check_requested)
self.disk_status_check_requested.emit()

def text(self) -> str:
Expand Down
2 changes: 1 addition & 1 deletion securedrop_client/gui/conversation/export/print_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(self, printer: Printer, file_location: str, file_name: str) -> None

self._show_starting_instructions()
self.start_animate_header()
self._printer.check_status_once_on(self.printer_status_check_requested)
self._printer.enqueue_job_on(self.file_printing_requested)
self._printer.check_status_once_on(self.printer_status_check_requested)
self.printer_status_check_requested.emit()

def text(self) -> str:
Expand Down

0 comments on commit 6d08613

Please sign in to comment.