Skip to content

Commit 7a83e9c

Browse files
ENH: enhance message instructing the user in how to get access code (#130)
1 parent 9671bd5 commit 7a83e9c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,4 @@ cookiecutter-pypackage-env/
116116
# cache folder generated by dev/integration tests
117117
_cache
118118
.env
119+
sandbox.ipynb

datareservoirio/authenticate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def _prepare_fetch_token_args(self):
197197
"Please go here and authorize,",
198198
eval(f"_constants.AUTHORITY_URL_{self._env}_USER"),
199199
)
200-
package = input("Paste code here: ")
200+
package = input("Paste code here and press enter: ")
201201
parameters = json.loads(package)
202202
token_url = parameters["endpoint"]
203203
code = parameters["code"]

0 commit comments

Comments
 (0)