Romern / syncMyMoodle

Synchronization client for RWTH Moodle
GNU General Public License v3.0
70 stars 18 forks source link

Nested tqdm during sync #83

Open septatrix opened 2 years ago

septatrix commented 2 years ago

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 commented 2 years ago

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