added some error checking around lazy_login file
parent
8e7255a308
commit
346387222e
|
@ -34,7 +34,10 @@ class EagleEyev3():
|
|||
self.lazy_login = True
|
||||
|
||||
if self.lazy_login:
|
||||
try:
|
||||
self._load_access_token()
|
||||
except FileNotFoundError as e:
|
||||
logging.warn("self.lazy_login is set to {self.lazy_login} but could not find .lazy_login file to load")
|
||||
|
||||
def _load_vars_from_settings(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue