diff options
| author | 2015-10-10 17:49:14 +0200 | |
|---|---|---|
| committer | 2015-10-10 17:49:14 +0200 | |
| commit | 8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch) | |
| tree | bd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hoster/BitshareCom.py | |
| parent | Merge branch 'pr/n1997_GammaC0de' into stable (diff) | |
| download | pyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz | |
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
| -rw-r--r-- | module/plugins/hoster/BitshareCom.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index 5b9abe7cc..118a0a833 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo  class BitshareCom(SimpleHoster): -    __name__    = "BitshareCom" +    __name      = "BitshareCom"      __type__    = "hoster"      __version__ = "0.56"      __status__  = "testing" @@ -42,7 +42,7 @@ class BitshareCom(SimpleHoster):              self.account.relogin()          #: File id -        m = re.match(self.__pattern__, pyfile.url) +        m = re.match(self.__pattern, pyfile.url)          self.file_id = max(m.group('ID1'), m.group('ID2'))          self.log_debug("File id is [%s]" % self.file_id) @@ -60,7 +60,7 @@ class BitshareCom(SimpleHoster):              self.retry()          #: File name -        m     = re.match(self.__pattern__, pyfile.url) +        m     = re.match(self.__pattern, pyfile.url)          name1 = m.group('NAME') if m else None          m     = re.search(self.INFO_PATTERN, self.html) | 
