removed .xml from device type
This commit is contained in:
parent
cea56a299a
commit
383867e76a
1 changed files with 3 additions and 1 deletions
2
confGen
2
confGen
|
@ -25,6 +25,8 @@ print("NOKIA SIP PROV GENERATOR\nCopyright (C) 2021 Dovi Cowan\nThis program co
|
||||||
|
|
||||||
devices = os.listdir('templates/')
|
devices = os.listdir('templates/')
|
||||||
|
|
||||||
|
devices = [i.split('.', 1)[0] for i in devices]
|
||||||
|
|
||||||
args = argparse.ArgumentParser('./confGen', description="Generate provisioning files for Nokia SIP")
|
args = argparse.ArgumentParser('./confGen', description="Generate provisioning files for Nokia SIP")
|
||||||
args.add_argument('device', help="Device type", type=str, choices=devices)
|
args.add_argument('device', help="Device type", type=str, choices=devices)
|
||||||
args.add_argument('--provName', help="Name for provisioning profile (default 'Nokia SIP')", type=str)
|
args.add_argument('--provName', help="Name for provisioning profile (default 'Nokia SIP')", type=str)
|
||||||
|
|
Loading…
Reference in a new issue