Skip to content
Snippets Groups Projects
Commit 5b1f8bcc authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Make sure args are always str

parent 418459b6
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class Notification:
def _nec_notification(self, obj):
if obj.do_popup:
icon_name = self._get_icon_name(obj)
self.popup(obj.popup_event_type, obj.jid, obj.conn.name,
self.popup(obj.popup_event_type, str(obj.jid), obj.conn.name,
obj.popup_msg_type, icon_name=icon_name,
title=obj.popup_title, text=obj.popup_text,
timeout=obj.popup_timeout)
......@@ -219,7 +219,7 @@ class Notification:
@staticmethod
def _make_id(*args):
return ','.join(args)
return ','.join(map(str, args))
class PopupNotification(Gtk.Window):
......
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