From de64aca5ddb6efbae26f6f00f75cf8c7edfd2836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 25 Oct 2020 18:40:19 +0100 Subject: [PATCH] call get_public_label on correct object --- emissions/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emissions/utils.py b/emissions/utils.py index 047f080..572607d 100644 --- a/emissions/utils.py +++ b/emissions/utils.py @@ -232,7 +232,7 @@ def period_program(date_start, date_end, prefetch_sounds=True, self.datetime = dt self.title = nonstop.title self.slug = nonstop.slug - self.label = self.get_public_label() + self.label = nonstop.get_public_label() self.nonstop = nonstop def __repr__(self): -- GitLab