Skip to content
Snippets Groups Projects
Commit f9eeedff authored by Seblu's avatar Seblu
Browse files

fix traceback when index in addright

parent 8c609f25
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment