Sfoglia il codice sorgente

Another minor cache bug

Jonas Borgström 14 anni fa
parent
commit
ea1c599413
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      darc/cache.py

+ 1 - 0
darc/cache.py

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