diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/webbrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 4772adc..18dc11b 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -223,7 +223,7 @@ class UnixBrowser(BaseBrowser): cmdline = [self.name] + raise_opt + args if remote or self.background: - inout = open(os.devnull, "r+") + inout = io.open(os.devnull, "r+") else: # for TTY browsers, we need stdin/out inout = None |