Commit 83715208 authored by Tiago Peixoto's avatar Tiago Peixoto

gdrive.py: fix indentation

parent 3decdbe5
......@@ -32,7 +32,7 @@ The full repository is populated by running simply:
./do_all.py
```
The above command takes an optional space-separate list of entries as
The above command takes an optional space-separated list of entries as
arguments, in which case only the specified entries are processed.
The processing pipeline consists of the steps ``fetch``, ``parse``,
......@@ -46,8 +46,8 @@ local version of the website can be run by evoking ``./net_site.py``.
### Google drive authentication
Some entries require the use of google drive API for fetching. You will
need authenticate with a google account the first time you run the above
scripts, and your credentials will be stored in a local file.
need to authenticate with a google account the first time you run the
above scripts, and your credentials will be stored in a local file.
## License
......
......@@ -31,7 +31,7 @@ else:
flow = InstalledAppFlow.from_client_secrets_file('credentials.json', SCOPES)
creds = flow.run_local_server(port=8080, success_message='success')
with open('gdrive_token.pickle', 'wb') as f:
pickle.dump(creds, f)
pickle.dump(creds, f)
drive_service = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment