Minor changes
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user