Fix app names containing slashes
This commit is contained in:
parent
ee75d7973d
commit
57d8fd1074
|
@ -19,7 +19,7 @@ def apps_from_folder(dirname):
|
||||||
|
|
||||||
def fetch_app(app, outdir):
|
def fetch_app(app, outdir):
|
||||||
appname = app["Item Description"]
|
appname = app["Item Description"]
|
||||||
filename = os.path.join(outdir, f'{appname}.ipa')
|
filename = os.path.join(outdir, f'{appname.replace('/', '_')}.ipa')
|
||||||
if os.path.exists(filename):
|
if os.path.exists(filename):
|
||||||
print(f"{appname} exists, skipping")
|
print(f"{appname} exists, skipping")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue