mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
sys not imported which throws exception before quitting gracefully
This commit is contained in:
parent
d0545b6898
commit
7fde2aff36
1 changed files with 1 additions and 0 deletions
|
@ -63,4 +63,5 @@ class UI:
|
|||
ui = ConsoleUI(ui_args).run()
|
||||
except ImportError:
|
||||
log.error("Unable to find the requested UI: %s. Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.", selected_ui)
|
||||
import sys
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue