From e3c619d1cfb38db85152fbd7b6b81d93ecb535eb Mon Sep 17 00:00:00 2001 From: "Terrence J. Katzenbaer" Date: Sun, 9 Jul 2023 01:24:12 -0700 Subject: [PATCH] Fixes tfa_host incorrectly splitting scheme --- pyaarlo/tfa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyaarlo/tfa.py b/pyaarlo/tfa.py index 8e39450..cb90042 100644 --- a/pyaarlo/tfa.py +++ b/pyaarlo/tfa.py @@ -180,7 +180,7 @@ def start(self): self.debug("clearing") response = requests.get( "{}/clear?email={}&token={}".format( - self._arlo.cfg.tfa_host, + self._arlo.cfg._add_scheme(self._arlo.cfg.tfa_host), self._arlo.cfg.tfa_username, self._arlo.cfg.tfa_password, ), @@ -208,7 +208,7 @@ def get(self): self.debug("checking") response = requests.get( "{}/get?email={}&token={}".format( - self._arlo.cfg.tfa_host, + self._arlo.cfg._add_scheme(self._arlo.cfg.tfa_host), self._arlo.cfg.tfa_username, self._arlo.cfg.tfa_password, ),