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