diff --git a/main.py b/main.py index df4f4ee32df7bfc4bc90f387c694a9845f33fbbf..91ae7bfa27e8a00ff0ee6d0ba909a69ad51c1c09 100755 --- a/main.py +++ b/main.py @@ -45,8 +45,7 @@ def influxb_connect(config): else: port = o.port ssl = bool(o.scheme == 'https') - if ssl: - verify = True + verify = bool(ssl) # Connect to influx db try: