diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 18:29:28 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 18:29:28 +0100 |
commit | fdd5372765e11ce99fe9b0e0c1b048238d9a8806 (patch) | |
tree | 5a4c4a94a0c41845228ea39f297c30b14dde9ff0 /pyload/manager/thread/InfoThread.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-fdd5372765e11ce99fe9b0e0c1b048238d9a8806.tar.xz |
Remove merged PluginThread
Diffstat (limited to 'pyload/manager/thread/InfoThread.py')
-rw-r--r-- | pyload/manager/thread/InfoThread.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/manager/thread/InfoThread.py b/pyload/manager/thread/InfoThread.py index 1775e2a86..4edc55545 100644 --- a/pyload/manager/thread/InfoThread.py +++ b/pyload/manager/thread/InfoThread.py @@ -190,10 +190,11 @@ class InfoThread(PluginThread): self.m.log.debug("Run Info Fetching for %s" % pluginname) for result in plugin.getInfo(process): #result = [ .. (name, size, status, url) .. ] - if not type(result) == list: result = [result] + if not type(result) == list: + result = [result] for res in result: - self.m.infoCache[res[3]] = res + self.m.infoCache[res[3]] = res #: why don't assign res dict directly? cb(pluginname, result) |