Commit 55f8980d authored by fred's avatar fred

style: tabs & spaces

parent e76819c5
......@@ -429,7 +429,7 @@ class Listen(TemplateView):
context['sectionName'] = "Listen"
context['sounds'] = SoundFile.objects.all()[:15]
listenable = []
x=0
x = 0
for episode in Episode.objects.all().extra(select={
'first_diffusion': 'emissions_diffusion.datetime',
},
......@@ -444,8 +444,8 @@ class Listen(TemplateView):
elif episode.main_sound is None:
continue
else:
x+=1
listenable .append(episode)
x += 1
listenable.append(episode)
context['episodes'] = listenable
return context
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment