Merge pull request #27 from Sogolumbo/LogWritingBegins

Log the end of getting data and the beginning of writing files
This commit is contained in:
Casey Chu
2020-10-09 18:28:11 -07:00
committed by GitHub

View File

@@ -149,6 +149,7 @@ def main():
playlist['tracks'] = spotify.list(playlist['tracks']['href'], {'limit': 100}) playlist['tracks'] = spotify.list(playlist['tracks']['href'], {'limit': 100})
# Write the file. # Write the file.
log('Writing files...')
with open(args.file, 'w', encoding='utf-8') as f: with open(args.file, 'w', encoding='utf-8') as f:
# JSON file. # JSON file.
if args.format == 'json': if args.format == 'json':