Minor changes

This commit is contained in:
2016-06-14 12:49:10 +02:00
parent 9be82123da
commit e3ef06a41a

View File

@@ -406,7 +406,10 @@ def matchday(request, ls, season, matchday, template_name='md.html'):
avatar = None avatar = None
posts.append( (post, avatar) ) posts.append( (post, avatar) )
cur_group = matches[0]['md_name'] try:
cur_group = matches[0]['md_name']
except:
cur_group = "N/A"
return render(request, 'md.html', { return render(request, 'md.html', {
#'debug': debug, #'debug': debug,