read settings from ~/.config

master
neingeist 6 years ago
parent 7743da3583
commit d7c20bc0bc

@ -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)

Loading…
Cancel
Save