This commit is contained in:
oleting
2021-01-24 21:51:21 +01:00
parent 8cf14a3478
commit 27af64ec82

View File

@@ -58,9 +58,10 @@ class NassiShneidermanDiagram:
number_of_item = 1 number_of_item = 1
for scope in self.function_scopes: for scope in self.function_scopes:
number_of_item += 1 number_of_item += 1
cancel = one_line_progress_meter('Progress', number_of_item, len(self.function_scopes), '-PROGRESSBAR-') try:
if not cancel: cancel = one_line_progress_meter('Progress', number_of_item, len(self.function_scopes), '-PROGRESSBAR-')
return False if not cancel:
return False
filepath = f"{output_path}/{scope.name}" filepath = f"{output_path}/{scope.name}"
filepath = self.check_conflicts(filepath, on_conflict) filepath = self.check_conflicts(filepath, on_conflict)