diff --git a/shell/session/Session.py b/shell/session/Session.py index 8725a1dd..31c24430 100644 --- a/shell/session/Session.py +++ b/shell/session/Session.py @@ -71,7 +71,7 @@ class Session: process = DbusProcess() process.start() - if os.environ['SUGAR_DBUS_MONITOR']: + if os.environ.has_key('SUGAR_DBUS_MONITOR'): dbm = DBusMonitorProcess() dbm.start()