🗃 Pretty json

This commit is contained in:
2021-04-11 03:58:03 +03:00
parent 22ceca360c
commit da99ec6b92
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ else:
c.print('All done! 🎉')
c.print('Saving to download_list.json...', style='italic')
f = open("download_list.json", "w", encoding='utf-8')
f.write(json.dumps(all_channels))
f.write(json.dumps(all_channels, indent=4))
f.close()
for ch in all_channels: