mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
More compact JSON
The software doesn't need an extra space per key.
This commit is contained in:
parent
8c22b6c99e
commit
63fa97cc58
@ -304,7 +304,7 @@ def download_media_metadata(media_id):
|
||||
return
|
||||
source = media.source
|
||||
metadata = media.index_metadata()
|
||||
media.metadata = json.dumps(metadata, default=json_serial)
|
||||
media.metadata = json.dumps(metadata, separators=(',', ':'), default=json_serial)
|
||||
upload_date = media.upload_date
|
||||
# Media must have a valid upload date
|
||||
if upload_date:
|
||||
|
Loading…
Reference in New Issue
Block a user