2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Correct split

bytes need bytes to split
This commit is contained in:
Jarrod Johnson 2020-05-18 13:50:48 -04:00
parent 317a1c572b
commit 9caf8056ec

View File

@ -86,7 +86,7 @@ def handle_request(env, start_response):
for line in langinfo:
line = line.strip()
if line.startswith(b'System Locale:'):
currlocale = line.split('=')[-1]
currlocale = line.split(b'=')[-1]
if not currlocale:
continue
if not isinstance(currlocale, str):