From 63e07322430ee492c38e1e8dd8704ea7c5cc3129 Mon Sep 17 00:00:00 2001 From: Paul Taylor Date: Tue, 11 Feb 2025 22:34:22 -0500 Subject: [PATCH] Make SCOPES a list as Google OAuth client expects --- src/ezgmail/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ezgmail/__init__.py b/src/ezgmail/__init__.py index f65c9a9..0698687 100644 --- a/src/ezgmail/__init__.py +++ b/src/ezgmail/__init__.py @@ -43,7 +43,7 @@ # SCOPES = 'https://www.googleapis.com/auth/gmail.readonly' # read-only mode -SCOPES = "https://mail.google.com/" # read-write mode +SCOPES = ["https://mail.google.com/"] # read-write mode SERVICE_GMAIL = None EMAIL_ADDRESS = False # False if not logged in, otherwise the string of the email address of the logged in user. LOGGED_IN = False # False if not logged in, otherwise True