This should fix one-to-one chat, can't test now though
This commit is contained in:
@@ -42,6 +42,15 @@ class ActivityFactory(dbus.service.Object):
|
||||
|
||||
(fp, pathname, description) = imp.find_module(module_name)
|
||||
module = imp.load_module(module_name, fp, pathname, description)
|
||||
|
||||
try:
|
||||
start = getattr(module, 'start')
|
||||
except:
|
||||
start = None
|
||||
|
||||
if start:
|
||||
start()
|
||||
|
||||
self._class = getattr(module, class_name)
|
||||
|
||||
bus = dbus.SessionBus()
|
||||
|
||||
Reference in New Issue
Block a user