diff --git a/qubes/ext/audio.py b/qubes/ext/audio.py index c3ece983..f4b13308 100644 --- a/qubes/ext/audio.py +++ b/qubes/ext/audio.py @@ -44,7 +44,7 @@ class AUDIO(qubes.ext.Extension): @qubes.ext.handler('domain-init', 'domain-load') def on_domain_init_load(self, vm, event): if getattr(vm, 'audiovm', None): - if 'audiovm-' + vm.audiovm.name not in list(vm.tags): + if 'audiovm-' + vm.audiovm.name not in vm.tags: self.on_property_set(vm, event, name='audiovm', newvalue=vm.audiovm) diff --git a/qubes/ext/gui.py b/qubes/ext/gui.py index d5292969..e542a360 100644 --- a/qubes/ext/gui.py +++ b/qubes/ext/gui.py @@ -52,7 +52,7 @@ class GUI(qubes.ext.Extension): @qubes.ext.handler('domain-init', 'domain-load') def on_domain_init_load(self, vm, event): if getattr(vm, 'guivm', None): - if 'guivm-' + vm.guivm.name not in list(vm.tags): + if 'guivm-' + vm.guivm.name not in vm.tags: self.on_property_set(vm, event, name='guivm', newvalue=vm.guivm) # property-del <=> property-reset-to-default