From 6891645614426aab6fae1561ba925f81b214e993 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 15 Nov 2011 23:10:26 +0100 Subject: closed #420 --- module/PyPackage.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'module/PyPackage.py') diff --git a/module/PyPackage.py b/module/PyPackage.py index 991b18e54..f3be6c886 100644 --- a/module/PyPackage.py +++ b/module/PyPackage.py @@ -18,6 +18,7 @@ """ from module.PullEvents import UpdateEvent +from module.utils import save_path class PyPackage(): """ @@ -29,15 +30,17 @@ class PyPackage(): self.id = int(id) self.name = name - self.folder = folder + self._folder = folder self.site = site self.password = password self.queue = queue self.order = order - - self.setFinished = False + @property + def folder(self): + return save_path(self._folder) + def toDict(self): """ Returns a dictionary representation of the data. -- cgit v1.2.3