diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 2c203c46..9e96d358 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -85,7 +85,7 @@ def handle_request(env, start_response): ['localectl', 'status']).split(b'\n') for line in langinfo: line = line.strip() - if line.startswith('System Locale:'): + if line.startswith(b'System Locale:'): currlocale = line.split('=')[-1] if not currlocale: continue