list.insert() takes an index!
This commit is contained in:
parent
bfe5fc6569
commit
39a4e97901
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Module(ModuleManager.BaseModule):
|
|||
lists = []
|
||||
for i, arg in reversed(list(enumerate(args))):
|
||||
if arg[0] == "@":
|
||||
lists.insert(args.pop(i))
|
||||
lists.insert(0, args.pop(i))
|
||||
lists = lists or DEFAULT_LISTS
|
||||
|
||||
address = args[0]
|
||||
|
|
Loading…
Reference in a new issue