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, ),