From 7fde2aff36448752d899398746c8e1ce75290a5d Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 18 Feb 2009 17:36:16 +0000 Subject: [PATCH] sys not imported which throws exception before quitting gracefully --- deluge/ui/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/ui.py b/deluge/ui/ui.py index 53202b7b0..52deea44d 100644 --- a/deluge/ui/ui.py +++ b/deluge/ui/ui.py @@ -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)