From d7c20bc0bc22062b8d353f35e35ac6aea4a9acf3 Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 11 Jul 2018 14:13:22 +0200 Subject: [PATCH] read settings from ~/.config --- drive-download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive-download.py b/drive-download.py index b791733..7e49c46 100644 --- a/drive-download.py +++ b/drive-download.py @@ -10,7 +10,7 @@ import shlex from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive -gauth = GoogleAuth() +gauth = GoogleAuth(settings_file=os.path.expanduser('~/.config/drive-download/settings.yaml')) gauth.CommandLineAuth() drive = GoogleDrive(gauth)