From 38c7eef94711d1523954f61d3496005143088dab Mon Sep 17 00:00:00 2001 From: Dawn India Date: Sun, 13 Oct 2024 18:43:05 +0530 Subject: [PATCH] Update helper.py Fix a mistake. --- bot/helper/task_utils/gdrive_utils/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/task_utils/gdrive_utils/helper.py b/bot/helper/task_utils/gdrive_utils/helper.py index 8e97a2d84d33..4f9f92e32137 100644 --- a/bot/helper/task_utils/gdrive_utils/helper.py +++ b/bot/helper/task_utils/gdrive_utils/helper.py @@ -34,7 +34,7 @@ class GoogleDriveHelper: def __init__(self): - self._OAUTH_SCOPE = "https://www.googleapis.com/auth/drive" + self._OAUTH_SCOPE = ["https://www.googleapis.com/auth/drive"] self.token_path = "token.pickle" self.G_DRIVE_DIR_MIME_TYPE = "application/vnd.google-apps.folder" self.G_DRIVE_BASE_DOWNLOAD_URL = "https://drive.google.com/uc?id={}&export=download"