diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:02:59 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:02:59 +0200 |
commit | 352301e4892d311d1a4cf6127f6bc70bc23eede3 (patch) | |
tree | 2e0b62b1d5377b257461f829ee072d9b29c5c5e9 /module/plugins/hooks | |
parent | remove enviroment line (diff) | |
download | pyload-352301e4892d311d1a4cf6127f6bc70bc23eede3.tar.xz |
remove blank lines and unused imports
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/NoPremiumPl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/NoPremiumPl.py b/module/plugins/hooks/NoPremiumPl.py index ef36331eb..121e92f91 100644 --- a/module/plugins/hooks/NoPremiumPl.py +++ b/module/plugins/hooks/NoPremiumPl.py @@ -24,8 +24,8 @@ class NoPremiumPl(MultiHoster): __author_mail__ = ("dev@nopremium.pl") def getHoster(self): - hostings = loads(getURL("https://www.nopremium.pl/clipboard.php?json=3").strip()) + return [domain for row in hostings for domain in row["domains"] if row["sdownload"] == "0"] def getHosterCached(self): |