mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
gh-105745: Fix open method of webbrowser.Konqueror (#105746)
This commit is contained in:
parent
67f69dba0a
commit
e5d45b7444
@ -390,15 +390,6 @@ class Konqueror(BaseBrowser):
|
||||
return (p.poll() is None)
|
||||
|
||||
|
||||
def open(self, url, new=0, autoraise=True):
|
||||
sys.audit("webbrowser.open", url)
|
||||
if new:
|
||||
ok = self._remote("LOADNEW " + url)
|
||||
else:
|
||||
ok = self._remote("LOAD " + url)
|
||||
return ok
|
||||
|
||||
|
||||
class Edge(UnixBrowser):
|
||||
"Launcher class for Microsoft Edge browser."
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
Fix ``webbrowser.Konqueror.open`` method.
|
Loading…
Reference in New Issue
Block a user