fix command-line parameters
This commit is contained in:
parent
a8c6dfa020
commit
e777b5db5d
|
|
@ -285,11 +285,7 @@ def makePackedApp(args):
|
|||
raise ArgumentError, "No destination app specified. Use:\npython MakeAppMF.py app.mf"
|
||||
|
||||
multifile_name = args[0]
|
||||
root = '.'
|
||||
if len(args) > 1:
|
||||
root = args[1]
|
||||
|
||||
if len(args) > 2:
|
||||
raise ArgumentError, "Too many arguments."
|
||||
|
||||
p = AppPacker(multifile_name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue