Commit 8130ed8d by Devin Christensen

Allow .gitkeep in the jsonfile fact cache dir

parent 2bf26956
......@@ -98,7 +98,7 @@ class CacheModule(BaseCacheModule):
def keys(self):
keys = []
for k in os.listdir(self._cache_dir):
if not self.has_expired(k):
if not (k.startswith('.') or self.has_expired(k)):
keys.append(k)
return keys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment