Merge pull request #27 from Sogolumbo/LogWritingBegins

Log the end of getting data and the beginning of writing files
pull/15/merge
Casey Chu 2020-10-09 18:28:11 -07:00 committed by GitHub
commit 4afc1e1d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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