Configure dbus interface even if some env variables aren't available

Fixes app uniqueness on KDE.
This commit is contained in:
Cole Robinson 2011-07-11 15:15:55 -04:00
parent ceeef985c4
commit 19d7df4e47

View File

@ -378,10 +378,7 @@ def main():
engine = vmmEngine()
if (not (options.nodbus) and
not ((os.getenv("DBUS_SESSION_BUS_ADDRESS") is None) and
(os.getenv("DBUS_STARTER_ADDRESS") is None))):
if not options.nodbus:
try:
managerObj = dbus_config(engine)
if managerObj: