From dd9d6d6004bd7063b31f07857eba0eb6ab2e82eb Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 17 Feb 2015 19:48:29 +0100 Subject: Fix extractor plugin type --- pyload/plugin/extractor/SevenZip.py | 3 ++- pyload/plugin/extractor/UnRar.py | 3 ++- pyload/plugin/extractor/UnZip.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'pyload/plugin/extractor') diff --git a/pyload/plugin/extractor/SevenZip.py b/pyload/plugin/extractor/SevenZip.py index 22a7af941..74eb4c855 100644 --- a/pyload/plugin/extractor/SevenZip.py +++ b/pyload/plugin/extractor/SevenZip.py @@ -5,12 +5,13 @@ import re from subprocess import Popen, PIPE -from pyload.plugin.internal.UnRar import ArchiveError, CRCError, PasswordError, UnRar, renice +from pyload.plugin.extractor.UnRar import ArchiveError, CRCError, PasswordError, UnRar, renice from pyload.utils import fs_encode, safe_join class SevenZip(UnRar): __name = "SevenZip" + __type = "extractor" __version = "0.08" __description = """7-Zip extractor plugin""" diff --git a/pyload/plugin/extractor/UnRar.py b/pyload/plugin/extractor/UnRar.py index 487b8a508..0ff815597 100644 --- a/pyload/plugin/extractor/UnRar.py +++ b/pyload/plugin/extractor/UnRar.py @@ -7,7 +7,7 @@ from glob import glob from string import digits from subprocess import Popen, PIPE -from pyload.plugin.internal.Extractor import Extractor, ArchiveError, CRCError, PasswordError +from pyload.plugin.Extractor import Extractor, ArchiveError, CRCError, PasswordError from pyload.utils import decode, fs_encode, safe_join @@ -22,6 +22,7 @@ def renice(pid, value): class UnRar(Extractor): __name = "UnRar" + __type = "extractor" __version = "1.13" __description = """Rar extractor plugin""" diff --git a/pyload/plugin/extractor/UnZip.py b/pyload/plugin/extractor/UnZip.py index 881642f2f..68dea3a1d 100644 --- a/pyload/plugin/extractor/UnZip.py +++ b/pyload/plugin/extractor/UnZip.py @@ -6,12 +6,13 @@ import os import sys import zipfile -from pyload.plugin.internal.Extractor import Extractor, ArchiveError, CRCError, PasswordError +from pyload.plugin.Extractor import Extractor, ArchiveError, CRCError, PasswordError from pyload.utils import fs_encode class UnZip(Extractor): __name = "UnZip" + __type = "extractor" __version = "1.10" __description = """Zip extractor plugin""" -- cgit v1.2.3