mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
fix: Replace utils.open_url with webbrowser.open to resolve AttributeError
This commit is contained in:
parent
12188b6684
commit
cfba315a85
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import re
|
|||
import sys
|
||||
import threading
|
||||
import traceback
|
||||
import webbrowser
|
||||
from pathlib import Path
|
||||
|
||||
import git
|
||||
|
@ -756,7 +757,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
|
||||
if show:
|
||||
io.tool_output(f"Opening release notes: {urls.release_notes}")
|
||||
utils.open_url(urls.release_notes)
|
||||
webbrowser.open(urls.release_notes)
|
||||
|
||||
if args.show_prompts:
|
||||
coder.cur_messages += [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue