summaryrefslogtreecommitdiffstats
path: root/pyload/threads/InfoThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/InfoThread.py')
-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