mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
refactor: Remove redundant subprocess import in ring_bell method
This commit is contained in:
parent
e2117fd8a9
commit
56ba7ef411
1 changed files with 0 additions and 2 deletions
|
@ -960,8 +960,6 @@ class InputOutput:
|
||||||
if self.bell_on_next_input and self.notifications:
|
if self.bell_on_next_input and self.notifications:
|
||||||
if self.notifications_command:
|
if self.notifications_command:
|
||||||
try:
|
try:
|
||||||
import subprocess
|
|
||||||
|
|
||||||
subprocess.run(self.notifications_command, shell=True)
|
subprocess.run(self.notifications_command, shell=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.tool_warning(f"Failed to run notifications command: {e}")
|
self.tool_warning(f"Failed to run notifications command: {e}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue