From c3b406a00aba3fa549676a8181a5eb2a99d77c87 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 26 Mar 2015 18:29:00 +0100 Subject: Revert ce103ce1e60661f7bcdf6a033335134de61d48b1 --- pyload/plugin/extractor/UnRar.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/plugin/extractor/UnRar.py') diff --git a/pyload/plugin/extractor/UnRar.py b/pyload/plugin/extractor/UnRar.py index 3bc4f3464..cad58ff4f 100644 --- a/pyload/plugin/extractor/UnRar.py +++ b/pyload/plugin/extractor/UnRar.py @@ -21,13 +21,13 @@ def renice(pid, value): class UnRar(Extractor): - __name__ = "UnRar" - __type__ = "extractor" - __version__ = "1.20" + __name = "UnRar" + __type = "extractor" + __version = "1.20" - __description__ = """Rar extractor plugin""" - __license__ = "GPLv3" - __authors__ = [("RaNaN" , "RaNaN@pyload.org" ), + __description = """Rar extractor plugin""" + __license = "GPLv3" + __authors = [("RaNaN" , "RaNaN@pyload.org" ), ("Walter Purcaro", "vuolter@gmail.com"), ("Immenz" , "immenz@gmx.net" )] @@ -55,7 +55,7 @@ class UnRar(Extractor): cls.CMD = os.path.join(pypath, "RAR.exe") p = subprocess.Popen([cls.CMD], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() - cls.__name__ = "RAR" + cls.__name = "RAR" cls.REPAIR = True except OSError: @@ -66,7 +66,7 @@ class UnRar(Extractor): try: p = subprocess.Popen(["rar"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() - cls.__name__ = "RAR" + cls.__name = "RAR" cls.REPAIR = True except OSError: #: fallback to unrar -- cgit v1.2.3