Browse Source

forgot braces

GammaSQ 5 years ago
parent
commit
39c2c7bcd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesadmin/app.py

+ 1 - 1
qubesadmin/app.py

@@ -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)