diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 380fc3b16..7e044ec26 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -16,6 +16,9 @@ import gobject import gtk from twisted.internet import gtk2reactor +# Install the twisted reactor +reactor = gtk2reactor.install() + import deluge.common import deluge.component as component import deluge.error @@ -43,9 +46,6 @@ from torrentview import TorrentView gobject.set_prgname("deluge") -# Install the twisted reactor -reactor = gtk2reactor.install() - log = logging.getLogger(__name__) try: