mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 22:16: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 {}
|
||||
try:
|
||||
data.update(self.new_metadata.with_formats)
|
||||
except self.new_metadata.DoesNotExist:
|
||||
except Metadata.DoesNotExist:
|
||||
pass
|
||||
setattr(self, '_cached_metadata_dict', data)
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user