summaryrefslogtreecommitdiffstats
path: root/module/PyPackage.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-15 23:10:26 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-15 23:10:26 +0100
commit6891645614426aab6fae1561ba925f81b214e993 (patch)
tree20cd3963d4e05af10fa0eae2b899181b699bc128 /module/PyPackage.py
parentimproved plugin loader, import hook to always use newest plugin versions (diff)
downloadpyload-6891645614426aab6fae1561ba925f81b214e993.tar.xz
closed #420
Diffstat (limited to 'module/PyPackage.py')
-rw-r--r--module/PyPackage.py9
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.