aboutsummaryrefslogtreecommitdiff
path: root/cgi/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/template.py')
-rw-r--r--cgi/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/template.py b/cgi/template.py
index 8c3fc19..62f62a9 100644
--- a/cgi/template.py
+++ b/cgi/template.py
@@ -46,7 +46,7 @@ def renderTemplate(template, template_values={}, mobile=False, noindex=False):
# if board:
if template in ["board.html", "threadlist.html", "catalog.html", "kako.html", "paint.html"] or template[0:3] == "txt":
# TODO HACK
- if board['dir'] == 'world' and not mobile and (template == 'txt_board.html' or template == 'txt_thread.html'):
+ if board['dir'] == 'world' and not mobile and (template == 'txt_board.html'):
template = template[:-4] + 'en.html'
elif board['dir'] == '2d' and template == 'board.html' and not mobile:
template = template[:-4] + 'jp.html'