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:
parent
317a1c572b
commit
9caf8056ec
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user