diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-25 11:38:11 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-25 11:38:11 +0100 |
commit | e70ba609af6793e26857d88e496860114ccac103 (patch) | |
tree | ae2ab2892e88b640b8ff6d7ed02417431f6efdcc /module/PyFile.py | |
parent | catch socket exceptions (diff) | |
download | pyload-e70ba609af6793e26857d88e496860114ccac103.tar.xz |
cleanup stuff
Diffstat (limited to 'module/PyFile.py')
-rw-r--r-- | module/PyFile.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/PyFile.py b/module/PyFile.py index e7c7c2c2b..c198ce459 100644 --- a/module/PyFile.py +++ b/module/PyFile.py @@ -119,8 +119,12 @@ class PyFile(): def release(self): """sync and remove from cache""" self.sync() + if hasattr(self, "plugin"): del self.plugin + if hasattr(self, "download"): + del self.download + self.m.releaseLink(self.id) def delete(self): |