read settings from ~/.config
This commit is contained in:
parent
7743da3583
commit
d7c20bc0bc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue