summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index dac40f6..e766771 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -179,7 +179,7 @@ class Grail:
import tempfile
tempdir = os.path.join(tempfile.gettempdir(),
".grail-unix")
- user = pwd.getpwuid(_os.getuid())[0]
+ user = pwd.getpwuid(os.getuid())[0]
filename = os.path.join(tempdir, user + "-*")
maybes = glob.glob(filename)
if not maybes: