fix *args in frappy command
bug fix
This commit is contained in:
@@ -171,7 +171,7 @@ def frappy(*args, main=None, stick=None, addons=None):
|
||||
else:
|
||||
if stick is not None:
|
||||
raise TypeError('got multiple values for stick')
|
||||
stick, *alist = args
|
||||
stick, *alist = args[1:]
|
||||
if alist:
|
||||
if addons is not None:
|
||||
raise TypeError('got multiple values for addons')
|
||||
|
||||
Reference in New Issue
Block a user