no slash in filenames
This commit is contained in:
parent
22e982d49d
commit
fca7ad9ccc
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ for song in response.json()['items']:
|
||||||
for performance in response.json()['items']:
|
for performance in response.json()['items']:
|
||||||
if 'bootleg' in performance:
|
if 'bootleg' in performance:
|
||||||
_, extension = splitext(performance['bootleg'])
|
_, extension = splitext(performance['bootleg'])
|
||||||
filename = f"{song['song_name']} - {performance['eventName']}{extension}"
|
filename = f"{song['song_name']} - {performance['eventName']}{extension}".replace('/', '|')
|
||||||
|
|
||||||
if exists(filename):
|
if exists(filename):
|
||||||
print(filename, 'exists')
|
print(filename, 'exists')
|
||||||
|
|
Loading…
Reference in a new issue