summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-26 22:59:52 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-26 22:59:52 +0200
commit05e11816ea7b6a2cc8d02e6da34d9a352c2431be (patch)
treecc995477a667d87e6bea2e86cd162b6db973871b
parent[MultiuploadCom] Mark dead (diff)
downloadpyload-05e11816ea7b6a2cc8d02e6da34d9a352c2431be.tar.xz
Better dead plugin fallback
-rw-r--r--module/plugins/internal/DeadCrypter.py7
-rw-r--r--module/plugins/internal/DeadHoster.py7
2 files changed, 8 insertions, 6 deletions
diff --git a/module/plugins/internal/DeadCrypter.py b/module/plugins/internal/DeadCrypter.py
index 296de739d..1e6fb7d9f 100644
--- a/module/plugins/internal/DeadCrypter.py
+++ b/module/plugins/internal/DeadCrypter.py
@@ -6,14 +6,15 @@ from module.plugins.Crypter import Crypter as _Crypter
class DeadCrypter(_Crypter):
__name__ = "DeadCrypter"
__type__ = "crypter"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = None
- __description__ = """Crypter is no longer available"""
+ __description__ = """ Crypter is no longer available """
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
def setup(self):
- self.fail("Crypter is no longer available")
+ self.pyfile.error = "Crypter is no longer available"
+ self.offline() #@TODO: self.offline("Crypter is no longer available")
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
index 35a948824..3fa5190d7 100644
--- a/module/plugins/internal/DeadHoster.py
+++ b/module/plugins/internal/DeadHoster.py
@@ -14,14 +14,15 @@ def create_getInfo(plugin):
class DeadHoster(_Hoster):
__name__ = "DeadHoster"
__type__ = "hoster"
- __version__ = "0.11"
+ __version__ = "0.12"
__pattern__ = None
- __description__ = """Hoster is no longer available"""
+ __description__ = """ Hoster is no longer available """
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
def setup(self):
- self.fail("Hoster is no longer available")
+ self.pyfile.error = "Hoster is no longer available"
+ self.offline() #@TODO: self.offline("Hoster is no longer available")