diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-02 03:42:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-02 03:42:55 +0200 |
commit | a1b105f5e74df07abeab46a29de16416954fe4b8 (patch) | |
tree | 748d33cf67009ed71d96d96af5ab9fa8c1eb1e19 /module/plugins/accounts/RealdebridCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/1446 (diff) | |
download | pyload-a1b105f5e74df07abeab46a29de16416954fe4b8.tar.xz |
Small code cosmetics
Diffstat (limited to 'module/plugins/accounts/RealdebridCom.py')
-rw-r--r-- | module/plugins/accounts/RealdebridCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py index 41d8a0975..ad2975aa9 100644 --- a/module/plugins/accounts/RealdebridCom.py +++ b/module/plugins/accounts/RealdebridCom.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -import xml.dom.minidom as dom +import xml.dom.minidom from module.plugins.Account import Account @@ -19,7 +19,7 @@ class RealdebridCom(Account): if self.pin_code: return {"premium": False} html = req.load("https://real-debrid.com/api/account.php") - xml = dom.parseString(html) + xml = xml.dom.minidom.parseString(html) account_info = {"validuntil": float(xml.getElementsByTagName("expiration")[0].childNodes[0].nodeValue), "trafficleft": -1} |