Commit f9eeedff authored by Seblu's avatar Seblu
Browse files

fix traceback when index in addright

parent 8c609f25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ class Command_addright(TqlCommand):
        if len(self.args) == 4:
            self.args.append(None)
        elif len(self.args) == 5:
            self.args[5] = int(self.args[5])
            self.args[4] = int(self.args[4])
        else:
            raise cmdBadArgument()
        # rpc call