mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Fix up error message when unable to import a UI
This commit is contained in:
parent
f2a3ebf486
commit
6ba55ce2f4
1 changed files with 1 additions and 2 deletions
|
@ -64,6 +64,5 @@ class UI:
|
|||
ui = ConsoleUI(ui_args).run()
|
||||
except ImportError, e:
|
||||
log.exception(e)
|
||||
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
|
||||
log.error("Unable to start the requested UI: %s. Please examine the above traceback for more information on what you're missing. You may also select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.", selected_ui)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue