Commits

Ginés Martínez Sánchez committed 4b2200c

better comparing subcribers list

Comments (0)

Files changed (1)

         if not isinstance(event_name, (list, tuple)):
             event_name = (event_name,)
         for sub in self._dl_subscriptions:
-            if sub.event_name == event_name and \
+            if list(sub.event_name).sort() == list(event_name).sort() and \
                 sub.subscriber_gobj == subscriber_gobj:
                     return sub