From e70ba609af6793e26857d88e496860114ccac103 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 25 Dec 2010 11:38:11 +0100 Subject: cleanup stuff --- module/PyFile.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/PyFile.py') 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): -- cgit v1.2.3