1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00

Revert combining if lang statements

This commit is contained in:
Tessa Walsh 2024-03-28 17:10:39 -04:00
parent 63560e01d5
commit 543849fc04

View File

@ -670,6 +670,8 @@ class FrontEndApp(object):
lang = args.pop('lang', '')
if lang:
shift_path_info(environ)
if lang:
environ['pywb_lang'] = lang
elif self.default_locale:
environ['pywb_lang'] = self.default_locale