1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-05 13:24:13 +01:00

Fix dbus permissions problem.

Fix missing dbus import.
This commit is contained in:
Dan O'Reilly
2008-12-11 18:42:11 -05:00
parent 2b47ff538e
commit 2e21e6abb0
2 changed files with 3 additions and 9 deletions

View File

@@ -27,6 +27,8 @@ when appropriate.
import gobject
import time
from dbus import DBusException
from wicd import wpath
from wicd import misc
from wicd import dbusmanager
@@ -167,7 +169,7 @@ class ConnectionStatus(object):
from_wireless = False
self.auto_reconnect(from_wireless)
self.update_state(state)
except dbus.exceptions.DBusException, e:
except DBusException, e:
print 'Ignoring DBus Error: ' + str(e)
return True