diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index ec9e9e00..fcfc17d4 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -115,8 +115,7 @@ class QubesVM(qubes.vm.BaseVM): # label = qubes.property('label', - setter=(lambda self, prop, value: self.app.labels[ - int(value.rsplit('-', 1)[1])]), + setter=(lambda self, prop, value: self.app.get_label(value)), ls_width=14, doc='''Colourful label assigned to VM. This is where the colour of the padlock is set.''')