From 695b231a5783fe37b5ad7d1cc7e454a633112d02 Mon Sep 17 00:00:00 2001 From: Cole Smith Date: Tue, 15 Feb 2022 10:45:07 -0500 Subject: [PATCH] Update default database value in initialization Due to recent server-side code changes, authentication breaks if `database` is left as `None` when sending an authentication request. However, leaving the `database` as an empty string seems to provide the intended effect of successfully authenticating and allowing the database to be reassigned upon authentication. --- mygeotab/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mygeotab/api.py b/mygeotab/api.py index 01a9f45..6300a49 100644 --- a/mygeotab/api.py +++ b/mygeotab/api.py @@ -35,7 +35,7 @@ def __init__( self, username, password=None, - database=None, + database="", session_id=None, server="my.geotab.com", timeout=DEFAULT_TIMEOUT,