From bd55c2ef8f77d4c70f5089e75ab328170da993eb Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Tue, 7 Jul 2020 17:06:25 +0100 Subject: [PATCH] Compare KDE proxy ReversedException integer value to zero --- linkcheck/configuration/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/configuration/__init__.py b/linkcheck/configuration/__init__.py index 2d6c9da0..98dff18a 100644 --- a/linkcheck/configuration/__init__.py +++ b/linkcheck/configuration/__init__.py @@ -630,7 +630,7 @@ def add_kde_setting(key, value, data): elif value == "false": value = False else: - value = int(value) + value = int(value) != 0 data["reversed_bypass"] = value elif key == "NoProxyFor": data["ignore_hosts"] = split_hosts(value)