From: Michael Tremer Date: Wed, 12 Dec 2012 16:31:04 +0000 (+0100) Subject: Fix for newer versions of tornado. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4767ea4b85215f1ad4e0c55a36bd580992cba8;p=pbs.git Fix for newer versions of tornado. --- diff --git a/web/handlers_base.py b/web/handlers_base.py index f25d7e1c..aeea2247 100644 --- a/web/handlers_base.py +++ b/web/handlers_base.py @@ -49,7 +49,7 @@ class BaseHandler(tornado.web.RequestHandler): def get_user_locale(self): DEFAULT_LOCALE = tornado.locale.get("en_US") ALLOWED_LOCALES = \ - [tornado.locale.get(l) for l in tornado.locale.get_supported_locales(None)] + [tornado.locale.get(l) for l in tornado.locale.get_supported_locales()] # One can append "?locale=de" to mostly and URI on the site and # another output that guessed.