diff options
| author | 2014-11-06 03:33:31 +0100 | |
|---|---|---|
| committer | 2014-11-06 03:33:31 +0100 | |
| commit | 77269c8c78fcf7bd7a8ddbdbfc972043263fea46 (patch) | |
| tree | 46a35993467173be4153d4e1f3404bab1e90ec05 /module/plugins | |
| parent | [Plugin] Don't use reconnection if account was logged (diff) | |
| download | pyload-77269c8c78fcf7bd7a8ddbdbfc972043263fea46.tar.xz | |
Code cosmetics
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/accounts/File4safeCom.py | 3 | ||||
| -rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 | ||||
| -rw-r--r-- | module/plugins/hoster/FreakshareCom.py | 2 | 
3 files changed, 3 insertions, 6 deletions
| diff --git a/module/plugins/accounts/File4safeCom.py b/module/plugins/accounts/File4safeCom.py index 76446f791..20053d895 100644 --- a/module/plugins/accounts/File4safeCom.py +++ b/module/plugins/accounts/File4safeCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSAccount import XFSAccount  class File4safeCom(XFSAccount):      __name__    = "File4safeCom"      __type__    = "account" -    __version__ = "0.03" +    __version__ = "0.04"      __description__ = """File4safe.com account plugin"""      __license__     = "GPLv3" @@ -16,4 +16,3 @@ class File4safeCom(XFSAccount):      HOSTER_DOMAIN = "file4safe.com"      LOGIN_FAIL_PATTERN = r'input_login' -    PREMIUM_PATTERN = r'Extend Premium' diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 5fe1b0e5f..022300c7a 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -14,7 +14,7 @@ from module.utils import save_join  class UpdateManager(Hook):      __name__    = "UpdateManager"      __type__    = "hook" -    __version__ = "0.37" +    __version__ = "0.38"      __config__ = [("activated", "bool", "Activated", True),                    ("mode", "pyLoad + plugins;plugins only", "Check updates for", "pyLoad + plugins"), @@ -196,7 +196,7 @@ class UpdateManager(Hook):              if not oldver:                  msg = "New [%(type)s] %(name)s (v%(newver)s)"              elif newver > oldver: -                msg = "New version of [%(type)s] %(name)s (v%(oldver)s -> v%(newver)s)" +                msg = "New version of [%(type)s] %(name)s (v%(oldver)f -> v%(newver)f)"              else:                  continue diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py index 9d5efbf7d..1a811b007 100644 --- a/module/plugins/hoster/FreakshareCom.py +++ b/module/plugins/hoster/FreakshareCom.py @@ -67,8 +67,6 @@ class FreakshareCom(Hoster):      def prepare(self):          pyfile = self.pyfile -        self.wantReconnect = False -          self.download_html()          if not self.file_exists(): | 
