Save the key in cache file

master
pictuga 2013-09-15 19:20:51 +02:00
parent 1b7777c331
commit 23246ca6c1
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ class Cache:
out = [] out = []
for (key, bdata) in self._cache.iteritems(): for (key, bdata) in self._cache.iteritems():
out.append(str(key) + "\t" + bdata) out.append(str(key) + "\t" + bdata)
out.append("_key\t" + self._key)
txt = "\n".join(out) txt = "\n".join(out)
if not os.path.exists(self._dir): if not os.path.exists(self._dir):