typo fix
This commit is contained in:
parent
e69adafcec
commit
5a4e6cee58
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue