summaryrefslogtreecommitdiffstats
path: root/Lib/dospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dospath.py')
-rw-r--r--Lib/dospath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dospath.py b/Lib/dospath.py
index 4e4be56..98efe67 100644
--- a/Lib/dospath.py
+++ b/Lib/dospath.py
@@ -131,7 +131,7 @@ def getmtime(filename):
def getatime(filename):
"""Return the last access time of a file, reported by os.stat()."""
st = os.stat(filename)
- return st[stat.ST_MTIME]
+ return st[stat.ST_ATIME]
def islink(path):