Commit a7b36d6c authored by Seblu's avatar Seblu
Browse files

fix traceback when empty call to list

parent 0740b6d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ class Command_list(TqlCommand):
        # smart merge argument to have a tql
        tql = ""
        for arg in self.args:
            if arg[0] in ("&", "|", "$", "^", "%"):
            if len(arg) == 0 or arg[0] in ("&", "|", "$", "^", "%"):
                tql += arg
            else:
                tql += "&%s" % arg