From e3bbc0fa61fa554d33891678f2b871f007534cf1 Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Mon, 19 Dec 2016 22:54:09 +0100 Subject: [PATCH] Fixed bad named celery job --- funkwhale_api/music/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwhale_api/music/models.py b/funkwhale_api/music/models.py index 770274b..092516d 100644 --- a/funkwhale_api/music/models.py +++ b/funkwhale_api/music/models.py @@ -244,7 +244,7 @@ class Lyrics(models.Model): url = models.URLField(unique=True) content = models.TextField(null=True, blank=True) - @celery.app.task(name='ImportJob.run', filter=celery.task_method) + @celery.app.task(name='Lyrics.fetch_content', filter=celery.task_method) def fetch_content(self): html = lyrics_utils._get_html(self.url) content = lyrics_utils.extract_content(html) -- GitLab