Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-13 09:12:43 +02:00
parent 451c14dae9
commit 570482ee4f

View File

@ -52,6 +52,7 @@ class GdriveSync(plugins.Plugin):
try: try:
gauth = GoogleAuth(settings_file="/root/settings.yaml") gauth = GoogleAuth(settings_file="/root/settings.yaml")
gauth = gauth.LoadCredentialsFile("/root/credentials.json")
gauth.Authorize() gauth.Authorize()
# Create GoogleDrive instance # Create GoogleDrive instance