mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-26 13:10:38 +00:00
Correct split
bytes need bytes to split
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user