summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/DeadHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:30:24 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:30:24 +0200
commit3177003f188d8f48ecafe5483e69f8b838581628 (patch)
treed2ea11252b3ea1f844c16aff7fbe54e54738df6c /module/plugins/internal/DeadHoster.py
parentPrepare method improves setup one (diff)
downloadpyload-3177003f188d8f48ecafe5483e69f8b838581628.tar.xz
[DeadHoster] Improve getInfo + two hosters mark dead
Diffstat (limited to 'module/plugins/internal/DeadHoster.py')
-rw-r--r--module/plugins/internal/DeadHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
index 3fa5190d7..37cd3cf17 100644
--- a/module/plugins/internal/DeadHoster.py
+++ b/module/plugins/internal/DeadHoster.py
@@ -6,7 +6,7 @@ from module.plugins.Hoster import Hoster as _Hoster
def create_getInfo(plugin):
def getInfo(urls):
- yield [('#N/A: ' + url, 0, 1, url) for url in urls]
+ yield map(lambda url: ('#N/A: ' + url, 0, 1, url), urls)
return getInfo