mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Remove the side-effect from Media.metadata_loads
This commit is contained in:
parent
4902503504
commit
b9ee06eeb5
@ -1121,7 +1121,7 @@ class Media(models.Model):
|
||||
|
||||
def metadata_loads(self, arg_str='{}'):
|
||||
data = json.loads(arg_str) or self.loaded_metadata
|
||||
return self.ingest_metadata(data)
|
||||
return data
|
||||
|
||||
|
||||
@atomic(durable=False)
|
||||
|
Loading…
Reference in New Issue
Block a user