summaryrefslogtreecommitdiffstats
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r--Lib/ntpath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index 5a63105..8cd8e9a 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -246,8 +246,8 @@ def exists(path):
try:
st = os.stat(path)
except os.error:
- return 0
- return 1
+ return False
+ return True
# Is a path a dos directory?