summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_scproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_scproxy.c b/Modules/_scproxy.c
index 30afa6a..af11ba7 100644
--- a/Modules/_scproxy.c
+++ b/Modules/_scproxy.c
@@ -75,7 +75,7 @@ get_proxy_settings(PyObject* mod __attribute__((__unused__)))
aNum = CFDictionaryGetValue(proxyDict,
kSCPropNetProxiesExcludeSimpleHostnames);
if (aNum == NULL) {
- v = PyBool_FromLong(1);
+ v = PyBool_FromLong(0);
} else {
v = PyBool_FromLong(cfnum_to_int32(aNum));
}