remove expensive cover_image query

pull/94/head
eric 2024-10-28 13:30:55 -04:00
parent 50ee282f29
commit 03e71be2df
1 changed files with 1 additions and 5 deletions

View File

@ -231,9 +231,5 @@ def feature_new_work():
@task
def make_cover_thumbnail(url, geom_string, **options):
success = covers.make_cover_thumbnail(url, geom_string, **options)
if not success and url != '':
for ed in models.Edition.objects.filter(cover_image=url):
logger.error('bad cover image %s for edition: %s', url, ed.id)
#ed.cover_image = ''
#ed.save()
logger.error('bad cover image %s: %s', url)