summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar GammaC0de <nitzo2001@yahoo.com> 2016-05-01 04:45:52 +0200
committerGravatar GammaC0de <nitzo2001@yahoo.com> 2016-05-01 04:45:52 +0200
commit1f9ff942673539cbb31fe1a9e22cd3c8cd75dd93 (patch)
tree42403a2da88412299e2eb183e6abd295fd8ba5fb /module
parent[TurbobitNet] fix #2445 (diff)
downloadpyload-1f9ff942673539cbb31fe1a9e22cd3c8cd75dd93.tar.xz
[MegaCoNz] update
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/MegaCoNz.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py
index 82be11064..205708fee 100644
--- a/module/plugins/hoster/MegaCoNz.py
+++ b/module/plugins/hoster/MegaCoNz.py
@@ -12,7 +12,6 @@ import Crypto.Util.Counter
from module.network.HTTPRequest import BadHeader
from module.plugins.internal.Hoster import Hoster
from module.plugins.internal.misc import decode, encode, exists, fsjoin, json
-from module.plugins.Plugin import SkipDownload as Skip
############################ General errors ###################################
@@ -226,7 +225,7 @@ class MegaClient(object):
class MegaCoNz(Hoster):
__name__ = "MegaCoNz"
__type__ = "hoster"
- __version__ = "0.42"
+ __version__ = "0.43"
__status__ = "testing"
__pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#(?P<TYPE>N|)!(?P<ID>[\w^_]+)!(?P<KEY>[\w\-,=]+)(?:###n=(?P<OWNER>[\w^_]+))?'
@@ -341,7 +340,7 @@ class MegaCoNz(Hoster):
name)
if exists(dest_file):
self.pyfile.name = name
- raise Skip("File exists.")
+ self.skip("File exists.")
def process(self, pyfile):