From dd28d119cfed07388f687d05cd6479aa4850469f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 25 Jan 2015 02:28:56 +0100 Subject: [DLC] Fix https://github.com/pyload/pyload/issues/1074 --- module/plugins/container/DLC.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/container/DLC.py') diff --git a/module/plugins/container/DLC.py b/module/plugins/container/DLC.py index 446e96221..f3fd4b808 100644 --- a/module/plugins/container/DLC.py +++ b/module/plugins/container/DLC.py @@ -3,7 +3,7 @@ from __future__ import with_statement import re -import xml +import xml.dom.minidom from base64 import standard_b64decode from Crypto.Cipher import AES @@ -13,7 +13,7 @@ from module.plugins.Container import Container class DLC(Container): __name__ = "DLC" - __version__ = "0.20" + __version__ = "0.21" __pattern__ = r'.+\.dlc$' __description__ = """DLC container decrypter plugin""" @@ -55,7 +55,7 @@ class DLC(Container): def getPackages(self): - root = xml.dom.minidom.parseString(self.data).documentElement + root = xml.dom.minidom.parseString(self.data).documentElement content = root.getElementsByTagName("content")[0] return self.parsePackages(content) -- cgit v1.2.3