Added divider character that will later be used for sorting

This commit is contained in:
2022-12-29 16:30:24 -05:00
parent 765a35820e
commit 9652920069
+2 -2
View File
@@ -52,8 +52,8 @@ while download_id < stop + 1:
except IndexError:
track_name, track_type, skip = '', '', True
if not skip:
with open(f"{download_dir}{divider}{str('{:04d}'.format(download_id))} - {track_name} - {track_type}",
"wb") as f:
with open(f"{download_dir}{divider}{str('{:04d}'.format(download_id))} -\x1f- {track_name} -\x1f- "
f"{track_type}", "wb") as f:
f.write(response.content)
download_id += 1