Update settings.yaml file

pull/528/head
Ozzie Isaacs 7 years ago committed by GitHub
parent 9285423c29
commit a06748e348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2542,8 +2542,8 @@ def configuration_helper(origin):
with open('settings.yaml', 'w') as f: with open('settings.yaml', 'w') as f:
yaml = "client_config_backend: settings\nclient_config:\n" \ yaml = "client_config_backend: settings\nclient_config:\n" \
" client_id: %(client_id)s\n client_secret: %(client_secret)s\n" \ " client_id: %(client_id)s\n client_secret: %(client_secret)s\n" \
" redirect_uri: %(redirect_uri)s\nsave_credentials: True\n" \ " redirect_uri: %(redirect_uri)s\n\nsave_credentials: True\n" \
"save_credentials_backend: file\nsave_credentials_file: gdrive_credentials\n" \ "save_credentials_backend: file\nsave_credentials_file: gdrive_credentials\n\n" \
"get_refresh_token: True\n\noauth_scope:\n" \ "get_refresh_token: True\n\noauth_scope:\n" \
" - https://www.googleapis.com/auth/drive\n" " - https://www.googleapis.com/auth/drive\n"
f.write(yaml % {'client_id': filedata['web']['client_id'], f.write(yaml % {'client_id': filedata['web']['client_id'],

Loading…
Cancel
Save