From 6ba55ce2f48ff3c3c4afbfd743942aba7bf31eff Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 7 Mar 2009 16:55:45 +0000 Subject: [PATCH] Fix up error message when unable to import a UI --- deluge/ui/ui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/ui/ui.py b/deluge/ui/ui.py index f0af1cb82..c2e6c8814 100644 --- a/deluge/ui/ui.py +++ b/deluge/ui/ui.py @@ -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)