mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 06:26:37 +00:00
Hard-code the class name
This commit is contained in:
parent
6062725a79
commit
7c14fa3261
@ -1181,7 +1181,7 @@ class Media(models.Model):
|
|||||||
return {}
|
return {}
|
||||||
try:
|
try:
|
||||||
data.update(self.new_metadata.with_formats)
|
data.update(self.new_metadata.with_formats)
|
||||||
except self.new_metadata.DoesNotExist:
|
except Metadata.DoesNotExist:
|
||||||
pass
|
pass
|
||||||
setattr(self, '_cached_metadata_dict', data)
|
setattr(self, '_cached_metadata_dict', data)
|
||||||
return data
|
return data
|
||||||
|
Loading…
Reference in New Issue
Block a user