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

incorrect success messages with tqdm progress bar tasks #108

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HolyMichael
Copy link
Contributor

The issue arose from tqdm automatically saying success upon ending its task in conjunction with the inputs to a command resolving to an empty list of tasks.

for example to upload files, upon adding a non existing file the resulting "task_list" would be an empty list wich tqdm would grab, complete instantly and print out success

The solution applied to all (8) instances of this was to add a check for the list size, before dispatching tqdm, if the size was 0 print some error message and return out

Signed-off-by: Miguel Brandão <555migalves555@gmail.com>
Signed-off-by: Miguel Brandão <555migalves555@gmail.com>
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 this pull request may close these issues.

None yet

1 participant