syncMyMoodle icon indicating copy to clipboard operation
syncMyMoodle copied to clipboard

Nested tqdm during sync

Open septatrix opened this issue 3 years ago • 1 comments

Looping over course>section>module could be indicated using tqdm as the size of each iterable is know in advance. This is probably not a good estimate of the remaining runtime but still better than nothing.

septatrix avatar Oct 26 '21 21:10 septatrix

Also we should probably suppress tqdm if stdout.isatty() is false as that means we would write to a file which does not make too much sense when using tqdm

septatrix avatar Oct 26 '21 21:10 septatrix