summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 4222ef2..8cc48bd 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -950,7 +950,7 @@ def print_directory():
try:
pwd = os.getcwd()
except OSError as msg:
- print("os.error:", html.escape(str(msg)))
+ print("OSError:", html.escape(str(msg)))
else:
print(html.escape(pwd))
print()