handle media which may not have a published date set for some erroneous reason, related to #77
This commit is contained in:
@@ -19,6 +19,7 @@ class Command(BaseCommand):
|
||||
# Iter all tasks
|
||||
for source in Source.objects.all():
|
||||
# Recreate the initial indexing task
|
||||
log.info(f'Resetting tasks for source: {source}')
|
||||
verbose_name = _('Index media from source "{}"')
|
||||
index_source_task(
|
||||
str(source.pk),
|
||||
|
||||
Reference in New Issue
Block a user