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:
minggo 2012-12-06 18:02:09 -08:00
commit 48783d2224
1 changed files with 1 additions and 1 deletions

View File

@ -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"):