From 83b42d4ecab6ca97dd459acd2c2feae573e83305 Mon Sep 17 00:00:00 2001 From: apogiatzis Date: Thu, 1 Oct 2020 01:04:45 +0100 Subject: [PATCH] hotfix: add default value to is_secure --- pygate_grpc/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygate_grpc/client.py b/pygate_grpc/client.py index 6b436c6..18fad8a 100644 --- a/pygate_grpc/client.py +++ b/pygate_grpc/client.py @@ -3,7 +3,7 @@ class PowerGateClient(object): - def __init__(self, host_name, is_secure): + def __init__(self, host_name, is_secure=False): self.health = health.HealthClient(host_name, is_secure) self.faults = faults.FaultsClient(host_name, is_secure) self.buildinfo = buildinfo.BuildinfoClient(host_name, is_secure)