From 47f091b7ad2cfed00658c1a47c093aa86dbcb4a6 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Mon, 1 Nov 2010 11:56:07 -0400 Subject: [PATCH] collections should be saved as something.dl_tree, not somethingdl_tree --- libsaria/collection/collection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsaria/collection/collection.py b/libsaria/collection/collection.py index aff3c05c..f06e2958 100644 --- a/libsaria/collection/collection.py +++ b/libsaria/collection/collection.py @@ -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