refactor: Move webbrowser import to top of file

This commit is contained in:
Paul Gauthier 2024-10-31 13:48:27 -07:00 committed by Paul Gauthier (aider)
parent de65d86122
commit 740534dcff

View file

@ -1145,7 +1145,7 @@ class Coder:
if self.io.confirm_ask(
"View this URL from the error message?", subject=url
):
import webbrowser
import webbrowser #ai move to top!
webbrowser.open(url)
break