summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:21:30 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:21:30 +0100
commit1541e8b09a7a596b4c3f1e1381bc7911ac582573 (patch)
tree74b958e8bf85fd5a58d53b4c14509b1b9f52d45f /module/PyFile.py
parentbetter cleanup (diff)
downloadpyload-1541e8b09a7a596b4c3f1e1381bc7911ac582573.tar.xz
hotfile fix
Diffstat (limited to 'module/PyFile.py')
-rw-r--r--module/PyFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/PyFile.py b/module/PyFile.py
index 45add5a47..dc6a09025 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -120,7 +120,7 @@ class PyFile():
"""sync and remove from cache"""
self.sync()
- if hasattr(self, "plugin"):
+ if hasattr(self, "plugin") and self.plugin:
self.plugin.clean()
del self.plugin