Skip to content
Snippets Groups Projects
Commit 624a1603 authored by jimpp's avatar jimpp
Browse files

Fix small TBs about last changeset that could happen if some history were manually removed.

parent f9ca40ff
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,8 @@ class Logger:
''' % msg_id
)
results = self.cur.fetchall()
all_messages.append(results[0])
if len(results) > 0:
all_messages.append(results[0])
return all_messages
def write(self, kind, jid, message = None, show = None, tim = None,
......
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