Parcourir la source

Another minor cache bug

Jonas Borgström il y a 14 ans
Parent
commit
ea1c599413
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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: