2
0
Jonas Borgström 14 жил өмнө
parent
commit
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: