Browse Source

Another minor cache bug

Jonas Borgström 14 years ago
parent
commit
ea1c599413
1 changed files with 1 additions and 0 deletions
  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: