fix *args in frappy command

bug fix
This commit is contained in:
2022-08-08 15:48:40 +02:00
parent eb9614a9ac
commit 1c6af08155

View File

@@ -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')