mirror of https://github.com/axmolengine/axmol.git
when user specified 'group' parameter, it should be parsed as an 'int'
Otherwise, when we do slicing, it would report type error.
This commit is contained in:
parent
8dffd457db
commit
f64774ec6c
|
@ -185,7 +185,7 @@ if __name__ == "__main__":
|
|||
if opt in ("-d","--directory"):
|
||||
directory = arg
|
||||
if opt in ("-g","--group"):
|
||||
group = arg
|
||||
group = int(arg)
|
||||
if opt in ("-i","--identifier"):
|
||||
identifier = arg
|
||||
if opt in ("-p","--prefix"):
|
||||
|
|
Loading…
Reference in New Issue