summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/ZDF.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 14:03:56 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 14:03:56 +0200
commit304a42b914cde43a31a935181b0f952c726eee54 (patch)
tree104a496ed690c187a479cde5b829f4e76b21c1cd /pyload/plugin/hoster/ZDF.py
parentOther import fixes (diff)
downloadpyload-304a42b914cde43a31a935181b0f952c726eee54.tar.xz
Other import fixes (2)
Diffstat (limited to 'pyload/plugin/hoster/ZDF.py')
-rw-r--r--pyload/plugin/hoster/ZDF.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/ZDF.py b/pyload/plugin/hoster/ZDF.py
index c02eadc23..8272cfd93 100644
--- a/pyload/plugin/hoster/ZDF.py
+++ b/pyload/plugin/hoster/ZDF.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from xml.etree.ElementTree import fromstring
+import xml
from pyload.plugin.Hoster import Hoster
@@ -42,7 +41,7 @@ class ZDF(Hoster):
def process(self, pyfile):
- xml = fromstring(self.load(self.XML_API % self.get_id(pyfile.url)))
+ xml = xml.etree.ElementTree.fromstring(self.load(self.XML_API % self.get_id(pyfile.url)))
status = xml.findtext("./status/statuscode")
if status != "ok":