hamster.prevent traceback
This commit is contained in:
@@ -63,7 +63,8 @@ class HamsterIntegrationPlugin(GajimPlugin):
|
|||||||
# get hamster tags
|
# get hamster tags
|
||||||
facts = self.session_presence.GetTodaysFacts(
|
facts = self.session_presence.GetTodaysFacts(
|
||||||
dbus_interface=HAMSTAER_INTERFACE)
|
dbus_interface=HAMSTAER_INTERFACE)
|
||||||
|
if not facts:
|
||||||
|
return
|
||||||
if self.from_dbus_fact(facts[-1])['end_time']:
|
if self.from_dbus_fact(facts[-1])['end_time']:
|
||||||
accounts = gajim.connections.keys()
|
accounts = gajim.connections.keys()
|
||||||
for account in accounts:
|
for account in accounts:
|
||||||
|
|||||||
Reference in New Issue
Block a user