diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/presence/Service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/presence/Service.py b/services/presence/Service.py index 1057071..9a216c3 100644 --- a/services/presence/Service.py +++ b/services/presence/Service.py @@ -315,7 +315,7 @@ class Service(gobject.GObject): """Set the service's properties from either an Avahi TXT record (a list of lists of integers), or a python dictionary.""" - if type(properties) != type({}): + if not isinstance (properties, dict): raise ValueError("Properties must be a dictionary.") # Make sure the properties are actually different |