refactor: Remove unused import of sys module in run_cmd function

This commit is contained in:
Paul Gauthier 2024-09-04 08:54:26 -07:00 committed by Paul Gauthier (aider)
parent 40d5880b44
commit db7590048e

View file

@ -8,8 +8,6 @@ import pexpect
def run_cmd(command, verbose=False):
import sys
if sys.stdin.isatty() and hasattr(pexpect, "spawn") and platform.system() != "Windows":
return run_cmd_pexpect(command, verbose)