Remove code that didn't work
This method of changing `verbose_name` didn't result in any visible changes.
This commit is contained in:
1 parent
4b08062761
commit
3b58d86cd3
1 file changed
-5
@@ -603,10 +603,5 @@ def wait_for_media_premiere(media_id):
|
||||
else:
|
||||
media.manual_skip = True
|
||||
media.title = _(f'Premieres in {hours(td(media.published))} hours')
|
||||
task = get_media_premiere_task(str(media.pk))
|
||||
if task:
|
||||
task.verbose_name = _(f'Waiting for premiere of "{media.key}" '
|
||||
f'in {hours(td(media.published))} hours')
|
||||
task.save()
|
||||
media.save()
|
||||
|
||||
Reference in new issue
Block a user