mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: Fix formatting in utils.py
This commit is contained in:
parent
15521c41d1
commit
27e8780cbe
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"}
|
|||
def run_interactive_command(command):
|
||||
try:
|
||||
import pexpect
|
||||
|
||||
return run_interactive_command_pexpect(command)
|
||||
except ImportError:
|
||||
return run_interactive_command_subprocess(command)
|
||||
|
@ -31,7 +32,7 @@ def run_interactive_command_subprocess(command):
|
|||
text=True,
|
||||
shell=True,
|
||||
encoding=sys.stdout.encoding,
|
||||
errors="replace"
|
||||
errors="replace",
|
||||
)
|
||||
return result.returncode, result.stdout
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue