Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Provides usb preflight checks and standardizes error messages #5

Merged
merged 7 commits into from
Aug 14, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update return code when printer drivers are not available
  • Loading branch information
emkll committed Aug 6, 2019
commit 2a70172e67a008efeeecf88c4fe8f8edbdb6e320
2 changes: 1 addition & 1 deletion securedrop_export/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def install_printer_ppd(self, uri):
]
)
except subprocess.CalledProcessError:
msg = "ERROR_PRINTER_DRIVER_INSTALL"
msg = "ERROR_PRINTER_DRIVER_UNAVAILBLE"
self.exit_gracefully(msg)
return self.brlaser_ppd
# Here, we could support ppd drivers for other makes or models in the future
Expand Down