X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=blobdiff_plain;f=ddns%2Fsystem.py;h=1e1fa0b867ffffda2c847085081acb845021ad27;hp=400d38f23c80095133cc0073ab65e5e822a3daec;hb=fd898828aa9e79ce45a29dfc47e8b66dd69d3cfc;hpb=3fdcb9d197cbf63d3a812401a4ad775f2710bec9 diff --git a/ddns/system.py b/ddns/system.py index 400d38f..1e1fa0b 100644 --- a/ddns/system.py +++ b/ddns/system.py @@ -48,7 +48,7 @@ class DDNSSystem(object): proxy = self.core.settings.get("proxy") # Strip http:// at the beginning. - if proxy.startswith("http://"): + if proxy and proxy.startswith("http://"): proxy = proxy[7:] return proxy