diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 21:21:30 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 21:21:30 +0100 |
commit | 1541e8b09a7a596b4c3f1e1381bc7911ac582573 (patch) | |
tree | 74b958e8bf85fd5a58d53b4c14509b1b9f52d45f /module/PyFile.py | |
parent | better cleanup (diff) | |
download | pyload-1541e8b09a7a596b4c3f1e1381bc7911ac582573.tar.xz |
hotfile fix
Diffstat (limited to 'module/PyFile.py')
-rw-r--r-- | module/PyFile.py | 2 |
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 |