summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DataHu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 14:52:42 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 14:52:42 +0200
commit2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494 (patch)
treec33c610c953a7833adfe8e357417e73b1d5231d4 /module/plugins/hoster/DataHu.py
parentparseError -> error now calls Fail instead Exception (diff)
downloadpyload-2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494.tar.xz
Update hosters to self.error
Diffstat (limited to 'module/plugins/hoster/DataHu.py')
-rw-r--r--module/plugins/hoster/DataHu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/DataHu.py b/module/plugins/hoster/DataHu.py
index 6d286d872..d3a13c54b 100644
--- a/module/plugins/hoster/DataHu.py
+++ b/module/plugins/hoster/DataHu.py
@@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class DataHu(SimpleHoster):
__name__ = "DataHu"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = r'http://(?:www\.)?data\.hu/get/\w+'
@@ -35,7 +35,7 @@ class DataHu(SimpleHoster):
url = m.group(1)
self.logDebug("Direct link: " + url)
else:
- self.parseError('Unable to get direct link')
+ self.error('Unable to get direct link')
self.download(url, disposition=True)