浏览代码

Another minor cache bug

Jonas Borgström 14 年之前
父节点
当前提交
ea1c599413
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      darc/cache.py

+ 1 - 0
darc/cache.py

@@ -63,6 +63,7 @@ class Cache(object):
         self.files = None
 
     def _read_files(self):
+        self.files = {}
         with open(os.path.join(self.path, 'files'), 'rb') as fd:
             u = msgpack.Unpacker()
             while True: