mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
style: Fix formatting in base_coder.py
This commit is contained in:
parent
fe33cef894
commit
eeb47903a0
1 changed files with 3 additions and 1 deletions
|
@ -751,7 +751,9 @@ class Coder:
|
|||
for env_var in ["LANG", "LANGUAGE", "LC_ALL", "LC_MESSAGES"]:
|
||||
lang = os.environ.get(env_var)
|
||||
if lang:
|
||||
return lang.split(".")[0] # Return language and country, but remove encoding if present
|
||||
return lang.split(".")[
|
||||
0
|
||||
] # Return language and country, but remove encoding if present
|
||||
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue