diff --git a/edm/datastructures/data_structures.py b/edm/datastructures/data_structures.py index 4ba091e..866e724 100644 --- a/edm/datastructures/data_structures.py +++ b/edm/datastructures/data_structures.py @@ -178,7 +178,7 @@ def _loading_bar(count, numSections, total, startTime): """ Prints a loading bar. """ - numPerSection = int(total / numSections) + numPerSection = min(1, int(total / numSections)) sections = 0 i = 0