# HG changeset patch # User Ludovic Chabant # Date 1457913312 25200 # Node ID 1a6c4c2683fd98c0dabb96a2b0ff6be906013fd1 # Parent 77cec2fa0e8356d3f953ea0f3c0b896bca1d7c04 internal: Fix incorrect check for cache times. diff -r 77cec2fa0e83 -r 1a6c4c2683fd piecrust/appconfig.py --- 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'))