forgot braces
This commit is contained in:
parent
2e637b5631
commit
8b590bce86
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user