Change return types
This commit is contained in:
1 parent
4bd89a2b3b
commit
b787f2f9ce
1 file changed
+6
-6
+6
-6
@@ -173,12 +173,12 @@ class Printers:
|
||||
printers_info_list = []
|
||||
for i in self.printers:
|
||||
printers_info_list.append(
|
||||
[
|
||||
i.printer_type.name,
|
||||
"Used: " + str(i.used),
|
||||
"Ready: " + str(i.ready),
|
||||
i.printer_info,
|
||||
]
|
||||
{
|
||||
"Name": i.printer_type.name,
|
||||
"Used" : i.used,
|
||||
"Ready" : i.ready,
|
||||
"Info" : i.printer_info,
|
||||
}
|
||||
)
|
||||
|
||||
return printers_info_list
|
||||
|
||||
Reference in new issue
Block a user