Mercurial > piecrust2
changeset 686:1a6c4c2683fd
internal: Fix incorrect check for cache times.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 13 Mar 2016 16:55:12 -0700 |
parents | 77cec2fa0e83 |
children | 61d606fbc313 |
files | piecrust/appconfig.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/appconfig.py Thu Mar 10 07:08:15 2016 -0800 +++ b/piecrust/appconfig.py Sun Mar 13 16:55:12 2016 -0700 @@ -84,7 +84,7 @@ paths = list(filter(lambda i: i is not None, paths)) # Build the cache-key. - path_times = [os.path.getmtime(p[0]) for p in paths] + path_times = [os.path.getmtime(p) for p in paths] cache_key_hash = hashlib.md5( ("version=%s&cache=%d" % ( APP_VERSION, CACHE_VERSION)).encode('utf8'))