summaryrefslogtreecommitdiffstats
path: root/pyload/threads
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-29 20:24:02 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-29 20:24:02 +0200
commit083814b8a30c8eb3763707712d2d2e38e1d57ca5 (patch)
tree2e201c012725cf20c2bed0c24a6fb7529cc2e64c /pyload/threads
parentbasics for web setup (diff)
downloadpyload-083814b8a30c8eb3763707712d2d2e38e1d57ca5.tar.xz
small bug fixes
Diffstat (limited to 'pyload/threads')
-rw-r--r--pyload/threads/InfoThread.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyload/threads/InfoThread.py b/pyload/threads/InfoThread.py
index b62596ad3..8aa5e2d24 100644
--- a/pyload/threads/InfoThread.py
+++ b/pyload/threads/InfoThread.py
@@ -65,7 +65,9 @@ class InfoThread(DecrypterThread):
self.log.debug("Deprecated .getInfo() method on module level, use staticmethod instead")
self.fetchForPlugin(plugin, urls, cb)
- self.oc.done = True
+ if self.oc:
+ self.oc.done = True
+
self.names.clear()
self.m.timestamp = time() + 5 * 60