summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/DeadHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 20:04:36 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 20:04:36 +0200
commit9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 (patch)
tree1a5167cea6492283bfb679c4efdb4c13534d844f /module/plugins/internal/DeadHoster.py
parentReorder some functions (diff)
downloadpyload-9e5d813d7721e351ac02ba72bdc473a7d77ba6b7.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/internal/DeadHoster.py')
-rw-r--r--module/plugins/internal/DeadHoster.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
index 86f4381a3..5050ba059 100644
--- a/module/plugins/internal/DeadHoster.py
+++ b/module/plugins/internal/DeadHoster.py
@@ -1,13 +1,12 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.Hoster import Hoster
-from module.plugins.internal.SimpleHoster import create_getInfo
+from module.plugins.internal.Hoster import Hoster, create_getInfo
class DeadHoster(Hoster):
__name__ = "DeadHoster"
__type__ = "hoster"
- __version__ = "0.17"
+ __version__ = "0.18"
__pattern__ = r'^unmatchable$'
@@ -17,10 +16,10 @@ class DeadHoster(Hoster):
@classmethod
- def api_info(cls, *args, **kwargs):
- api = super(DeadHoster, cls).api_info(*args, **kwargs)
- api['status'] = 1
- return api
+ def get_info(cls, *args, **kwargs):
+ info = super(DeadHoster, cls).get_info(*args, **kwargs)
+ info['status'] = 1
+ return info
def setup(self):