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

Progress Bar Cannot be Disabled #168

Closed
peterstory opened this issue Mar 7, 2018 · 0 comments
Closed

Progress Bar Cannot be Disabled #168

peterstory opened this issue Mar 7, 2018 · 0 comments

Comments

@peterstory
Copy link

Using GPlayCLI v3.16, the progress bar cannot actually be disabled. The --progress option has no effect.

bar = progress.Bar(expected_size=total_size)
for index, chunk in enumerate(data_iter['file']['data']):
fbuffer.write(chunk)
bar.show(index * chunk_size)
bar.done()

parser.add_argument('-p', '--progress', action='store_true', dest='progress_bar',
help="Prompt a progress bar while downloading packages")

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

No branches or pull requests

2 participants