mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1662 from guanqun/fix-group-type
when user specified 'group' parameter, it should be parsed as an 'int'
This commit is contained in:
commit
48783d2224
|
@ -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