Skip to content
Snippets Groups Projects
Commit abdf55bd authored by Dicson's avatar Dicson
Browse files

hamster.prevent traceback

parent b41ce172
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,8 @@ class HamsterIntegrationPlugin(GajimPlugin):
# get hamster tags
facts = self.session_presence.GetTodaysFacts(
dbus_interface=HAMSTAER_INTERFACE)
if not facts:
return
if self.from_dbus_fact(facts[-1])['end_time']:
accounts = gajim.connections.keys()
for account in accounts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment