From 8dc6a9de83ce10635747235060e3561b5e881e18 Mon Sep 17 00:00:00 2001 From: Roger Hunwicks Date: Sat, 2 Mar 2024 09:08:48 -0500 Subject: [PATCH] Fix service_account connections (#42) --- gdrivefs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdrivefs/core.py b/gdrivefs/core.py index f82f78d..af03237 100644 --- a/gdrivefs/core.py +++ b/gdrivefs/core.py @@ -88,7 +88,7 @@ def connect(self, method=None): cred = self._connect_cache() elif method == 'anon': cred = AnonymousCredentials() - elif method is "service_account": + elif method == "service_account": cred = self._connect_service_account() else: raise ValueError(f"Invalid connection method `{method}`.")