collections should be saved as something.dl_tree, not somethingdl_tree

This commit is contained in:
Bryan Schumaker 2010-11-01 11:56:07 -04:00
parent 002af59c5f
commit 47f091b7ad
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@ class Collection:
libsaria.data.save(
(self.fs_tree, self.tag_tree, self.index, self.records,
self.next_record, self.size),
self.file, "dl_tree")
self.file, ".dl_tree")
def load(self):
objects = libsaria.data.load(self.file, "")
objects = libsaria.data.load(self.file, ".dl_tree")
if objects == None or len(objects) != 6:
self.reset()
return