Commit e4fe4f4c authored by Seblu's avatar Seblu
Browse files

fix list -l and -r bug with empty objectlist

parent e70d38ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)