forgot braces
This commit is contained in:
parent
2e637b5631
commit
39c2c7bcd2
@ -217,7 +217,7 @@ class QubesBase(qubesadmin.base.PropertyHolder):
|
|||||||
|
|
||||||
# then search for index
|
# then search for index
|
||||||
if type(label) == int or label.isdigit():
|
if type(label) == int or label.isdigit():
|
||||||
return self.labels.values[int(label)]
|
return self.labels.values()[int(label)]
|
||||||
|
|
||||||
raise KeyError(label)
|
raise KeyError(label)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user