mirror of
https://github.com/caseychu/spotify-backup.git
synced 2024-05-11 10:51:31 +00:00
Log the end of getting data and the beginning of writing files
This helps when debugging and let's the user know what's going on while they're waiting.
This commit is contained in:
@@ -148,6 +148,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':
|
||||
|
Reference in New Issue
Block a user