summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-25 02:28:56 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-25 02:28:56 +0100
commitdd28d119cfed07388f687d05cd6479aa4850469f (patch)
tree6fa824c43c4b345e2142e0bf1c2958ddeda91305 /module
parent[BasePlugin] Fix https://github.com/pyload/pyload/issues/1073 (diff)
downloadpyload-dd28d119cfed07388f687d05cd6479aa4850469f.tar.xz
[DLC] Fix https://github.com/pyload/pyload/issues/1074
Diffstat (limited to 'module')
-rw-r--r--module/plugins/container/DLC.py6
1 files changed, 3 insertions, 3 deletions
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)