Skip to content
Snippets Groups Projects
Commit e4fe4f4c authored by Seblu's avatar Seblu
Browse files

fix list -l and -r bug with empty objectlist

parent e70d38ec
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class Command_list(TqlCommand):
if len(self.args) == 0:
self.args.append("")
objs = self.rpccall("list", str.join("", self.args), _status=False, _direct=True)
if len(objs) == 0:
if len(objs["objects"]) == 0:
return
if self.options.align:
self.list_align(objs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment