diff --git a/qubesadmin/app.py b/qubesadmin/app.py index e5f2244..5815c56 100644 --- a/qubesadmin/app.py +++ b/qubesadmin/app.py @@ -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)