Skip to content

Commit

Permalink
Fix service_account connections (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhunwicks authored Mar 2, 2024
1 parent ab45b57 commit 8dc6a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdrivefs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}`.")
Expand Down

0 comments on commit 8dc6a9d

Please sign in to comment.