Merge pull request #27 from Sogolumbo/LogWritingBegins
Log the end of getting data and the beginning of writing filespull/15/merge
commit
4afc1e1d70
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue