diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 19:04:33 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 19:04:33 +0100 |
commit | 906b050f7459ac8fce252d6eb93983bb7374dd58 (patch) | |
tree | 2530101ef0f41c23aa15f2de263b5ceb6f76052b /pyload/plugins | |
parent | Remove merged PluginThread (diff) | |
parent | [SimpleHoster] Fix statusMap generator for python 2.5 (diff) | |
download | pyload-906b050f7459ac8fce252d6eb93983bb7374dd58.tar.xz |
Merge branch 'stable' into 0.4.10
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/internal/SimpleHoster.py b/pyload/plugins/internal/SimpleHoster.py index 46dec04d8..4e9db7f73 100644 --- a/pyload/plugins/internal/SimpleHoster.py +++ b/pyload/plugins/internal/SimpleHoster.py @@ -15,7 +15,7 @@ from pyload.utils import fixup, parseFileSize #@TODO: Adapt and move to PyFile in 0.4.10 -statusMap = {v: k for k, v in _statusMap.iteritems()} +statusMap = dict((v, k) for k, v in _statusMap.iteritems()) def replace_patterns(string, ruleslist): @@ -106,7 +106,7 @@ def _getDirectLink(self, url): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "0.59" + __version__ = "0.60" __pattern__ = r'^unmatchable$' |