diff --git a/qubes/__init__.py b/qubes/__init__.py index b5416bb7..060242ec 100644 --- a/qubes/__init__.py +++ b/qubes/__init__.py @@ -976,7 +976,7 @@ class PropertyHolder(qubes.events.Emitter): if :py:obj:`False`, log warning instead ''' - if isinstance(qubes.property, prop): + if isinstance(prop, qubes.property): prop = prop.__name__ try: