File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.182 2004-07-11 14:23:12 a1s Exp $
1+ # $Id: client.py,v 1.183 2004-07-13 10:19:13 a1s Exp $
22
33"""WWW request handler (also used in the stand-alone server).
44"""
@@ -276,7 +276,7 @@ def inner_main(self):
276276 self .write_html (self .renderContext ())
277277 except :
278278 # everything else
279- self .write_html (cgitb .html ())
279+ self .write_html (cgitb .html (i18n = self . translator ))
280280
281281 def clean_sessions (self ):
282282 """Age sessions, remove when they haven't been used for a week.
@@ -621,7 +621,7 @@ def renderContext(self):
621621 raise Unauthorised , str (message )
622622 except :
623623 # everything else
624- return cgitb .pt_html ()
624+ return cgitb .pt_html (i18n = self . translator )
625625
626626 # these are the actions that are available
627627 actions = (
You can’t perform that action at this time.
0 commit comments