This commit is contained in:
oleting
2021-02-09 15:09:41 +01:00
parent 9e505e512f
commit 0a71f8e82c
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ class Gui:
if file_is_empty: if file_is_empty:
sg.popup_annoying('Our interpreter did not find anything. --> blame Kons or yourself!', title='Empty') sg.popup_annoying('Our interpreter did not find anything. --> blame Kons or yourself!', title='Empty')
if path: elif path:
fnames = output(path) fnames = output(path)
sg.popup_annoying('Successfully created!', title='Created', sg.popup_annoying('Successfully created!', title='Created',
auto_close_duration=2, auto_close=True, text_color='green') auto_close_duration=2, auto_close=True, text_color='green')

View File

@@ -56,7 +56,7 @@ class NassiShneidermanDiagram:
def convert_to_image(self, output_path: str, on_conflict: Overwrite_behaviour=OB.SKIP) -> bool: def convert_to_image(self, output_path: str, on_conflict: Overwrite_behaviour=OB.SKIP) -> bool:
i = 0 i = 0
for scope in self.function_scopes: for scope in self.function_scopes:
cancel = one_line_progress_meter('Progress', i, len(self.function_scopes), '-PROGRESSBAR-') cancel = one_line_progress_meter('Progress', i+1, len(self.function_scopes), '-PROGRESSBAR-')
if not cancel: if not cancel:
return False return False