From 1cf36a12502e4d4f19c27cac8debf100012a1a88 Mon Sep 17 00:00:00 2001
From: ingo <ingo.leindecker@fro.at>
Date: Wed, 13 Dec 2017 15:23:51 +0100
Subject: [PATCH] oops, typo

see #22
---
 program/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/views.py b/program/views.py
index 5c53b8ee..bdd3534b 100644
--- a/program/views.py
+++ b/program/views.py
@@ -246,7 +246,7 @@ def json_week_schedule(request):
     schedule = []
     for ts in timeslots:
 
-        is_repetition = ' ' + _('WH') if ts.schedule.is_repetition is 1 else ''
+        is_repetition = ' ' + _('REP') if ts.schedule.is_repetition is 1 else ''
 
         hosts = ', '.join(ts.show.hosts.values_list('name', flat=True))
         categories = ', '.join(ts.show.category.values_list('category', flat=True))
@@ -701,7 +701,7 @@ class APIMusicFocusViewSet(viewsets.ModelViewSet):
 
     queryset = MusicFocus.objects.all()
     serializer_class = MusicFocusSerializer
-    permission_classes = [permissions.IsAdminUser
+    permission_classes = [permissions.IsAdminUser]
     required_scopes = ['musicfocus']
 
 
-- 
GitLab