forgot braces

This commit is contained in:
GammaSQ 2018-12-03 15:41:42 +01:00
parent 2e637b5631
commit 8b590bce86

View File

@ -217,7 +217,7 @@ class QubesBase(qubesadmin.base.PropertyHolder):
# then search for index
if type(label) == int or label.isdigit():
return self.labels.values[int(label)]
return self.labels.values()[int(label)]
raise KeyError(label)