diff options
Diffstat (limited to 'module/PyPackage.py')
-rw-r--r-- | module/PyPackage.py | 9 |
1 files changed, 6 insertions, 3 deletions
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. |