Loading cccli/command/right.py +2 −2 Original line number Diff line number Diff line Loading @@ -84,11 +84,11 @@ class Command_delright(TqlCommand): raise cmdBadArgument() # building list of index try: l = [ int(x) for x in self.args[1:] ] l = [ int(x) for x in self.args[1:] if x != "*" ] except ValueError as e: raise cmdBadArgument("Indexes must be numbers") # if all is detected if "*" in l: if "*" in self.args[1:]: self.rpccall("delright", self.args[0], None) else: for index in l: Loading Loading
cccli/command/right.py +2 −2 Original line number Diff line number Diff line Loading @@ -84,11 +84,11 @@ class Command_delright(TqlCommand): raise cmdBadArgument() # building list of index try: l = [ int(x) for x in self.args[1:] ] l = [ int(x) for x in self.args[1:] if x != "*" ] except ValueError as e: raise cmdBadArgument("Indexes must be numbers") # if all is detected if "*" in l: if "*" in self.args[1:]: self.rpccall("delright", self.args[0], None) else: for index in l: Loading