Remove extra blank lines

This commit is contained in:
tcely 2025-03-18 21:12:18 -04:00 committed by GitHub
parent 196c193c41
commit abae403a8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -254,12 +254,10 @@ def index_source_task(source_id):
priority=20,
verbose_name=verbose_name.format(media.pk),
)
if task:
task.verbose_name = verbose_name
with atomic():
task.save(update_fields={'verbose_name'})
# Tack on a cleanup of old completed tasks
cleanup_completed_tasks()
with atomic(durable=True):