forgot braces

This commit is contained in:
GammaSQ 2018-12-03 15:41:42 +01:00
parent 2e637b5631
commit 39c2c7bcd2
No known key found for this signature in database
GPG Key ID: D552FD2F98647C64

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)