This commit is contained in:
Laurent DEFERT 2022-12-28 19:06:16 +01:00
parent e69adafcec
commit 5a4e6cee58
1 changed files with 1 additions and 1 deletions

View File

@ -1266,7 +1266,7 @@ class Media(models.Model):
''' '''
indexer = self.INDEXERS.get(self.source.source_type, None) indexer = self.INDEXERS.get(self.source.source_type, None)
if not callable(indexer): if not callable(indexer):
raise Exception(f'Meida with source type f"{self.source.source_type}" ' raise Exception(f'Media with source type f"{self.source.source_type}" '
f'has no indexer') f'has no indexer')
return indexer(self.url) return indexer(self.url)