Merge branch '0.2' of https://github.com/plexx-dev/Nassi-Shneiderman-Diagramm-Generator into 0.2
This commit is contained in:
@@ -57,13 +57,18 @@ 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:
|
||||||
number_of_item = 1
|
number_of_item = 1
|
||||||
for scope in self.function_scopes:
|
for scope in self.function_scopes:
|
||||||
|
#this shizz is not my fault. Ole was the stupid one
|
||||||
number_of_item += 1
|
number_of_item += 1
|
||||||
try:
|
try:
|
||||||
cancel = one_line_progress_meter('Progress', number_of_item, len(self.function_scopes), '-PROGRESSBAR-')
|
cancel = one_line_progress_meter('Progress', number_of_item, len(self.function_scopes), '-PROGRESSBAR-')
|
||||||
if not cancel:
|
if not cancel:
|
||||||
return False
|
return False
|
||||||
|
<<<<<<< HEAD
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
=======
|
||||||
|
#I am the one responsible from here on
|
||||||
|
>>>>>>> a41cc0369d1e82c88f6313397e7298043eee5fd1
|
||||||
|
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user