]> git.0d.be Git - panikweb-esperanzah.git/blobdiff - panikweb_esperanzah/views.py
update /onair.json message
[panikweb-esperanzah.git] / panikweb_esperanzah / views.py
index bd64f5cf9c25247d0e1f206fc0783a2f991db334..d25450b99fb3c5d392fcfe7ffbbb6147f54ccbb7 100644 (file)
@@ -95,9 +95,7 @@ archives = ArchivesView.as_view()
 
 def onair(request):
     if datetime.date.today() >= datetime.date(2022, 8, 1):
-        return JsonResponse(
-            {'data': {'emission': {'title': 'On se revoit en 2023, découvrez les podcasts !', 'url': '/'}}}
-        )
+        return JsonResponse({'data': {'emission': {'title': 'Découvrez les podcasts !', 'url': '/'}}})
 
     playing_txt = os.path.join(settings.MEDIA_ROOT, 'playing.txt')
     if os.path.exists(playing_txt):