]> git.parisson.com Git - teleforma.git/commitdiff
fix no periods
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 10 Jul 2015 08:24:52 +0000 (10:24 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 10 Jul 2015 08:24:52 +0000 (10:24 +0200)
teleforma/views/core.py

index b7785d6119a5c11bb7d203ac775db3a2151ed62d..d1edf880f7bf6c8ad3928c9a6e480d0509198ada 100644 (file)
@@ -160,6 +160,8 @@ def get_host(request):
     return host
 
 def get_periods(user):
+    periods = []
+
     student = user.student.all()
     if student:
         student = user.student.get()