summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 21:17:27 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 21:17:27 +0100
commit4747e1d7958c9fb1180da6f3a21f3093220a6655 (patch)
tree9c47a1355158bb2f3ef6a1f723f42634d8a20e6b /module/plugins/accounts
parent[RehostTo] Account fixup (diff)
downloadpyload-4747e1d7958c9fb1180da6f3a21f3093220a6655.tar.xz
Code improvements
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/ZeveraCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/ZeveraCom.py b/module/plugins/accounts/ZeveraCom.py
index 8c7ab161e..6c69a974f 100644
--- a/module/plugins/accounts/ZeveraCom.py
+++ b/module/plugins/accounts/ZeveraCom.py
@@ -28,7 +28,7 @@ class ZeveraCom(Account):
if not self.HOSTER_DOMAIN:
self.logError(_("Missing HOSTER_DOMAIN"))
- if not self.API_URL:
+ if not hasattr(self, "API_URL"):
self.API_URL = "http://api.%s/jDownloader.ashx" % (self.HOSTER_DOMAIN or "")