Use has_key to check environ var
This commit is contained in:
parent
bfe4922808
commit
f4d8e538f4
@ -71,7 +71,7 @@ class Session:
|
|||||||
process = DbusProcess()
|
process = DbusProcess()
|
||||||
process.start()
|
process.start()
|
||||||
|
|
||||||
if os.environ['SUGAR_DBUS_MONITOR']:
|
if os.environ.has_key('SUGAR_DBUS_MONITOR'):
|
||||||
dbm = DBusMonitorProcess()
|
dbm = DBusMonitorProcess()
|
||||||
dbm.start()
|
dbm.start()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user