Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flush(stdout) before checking if accept terms #163

Open
oxinabox opened this issue Mar 27, 2023 · 0 comments · May be fixed by #164
Open

Flush(stdout) before checking if accept terms #163

oxinabox opened this issue Mar 27, 2023 · 0 comments · May be fixed by #164

Comments

@oxinabox
Copy link
Owner

oxinabox commented Mar 27, 2023

I work with DataDeps in a jupyter notebook. I don't mind having to agree to download, but the problem is that in jupyter notebooks, print statements are often only displayed after the execution of the function has finished, so I essentially need to agree to download without seeing the message which prompts me to do so.
I was wondering whether you could add a flush(stdout) after the print statement and before the input in check_if_accept_terms? Should be after this line.

Originally posted by @MariaHei in #115 (comment)

@oxinabox oxinabox linked a pull request Mar 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant