Mercurial > piecrust2
diff piecrust/appconfig.py @ 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 | ec384174b8b2 |
children | ab5c6a8ae90a |
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'))