~ small fix

This commit is contained in:
oleting
2021-01-24 21:26:14 +01:00
parent 0265556055
commit 5e024f07f5
5 changed files with 23 additions and 10 deletions

View File

@@ -84,4 +84,9 @@ class NassiShneidermanDiagram:
def load_from_file(self, filepath:str, itp_custom_tags: Optional[Dict[str, List[str]]]):
itp = JavaInterpreter(filepath)
itp.reset_tags(itp_custom_tags)
self.function_scopes = itp.load_instruction_scopes()
self.function_scopes = itp.load_instruction_scopes()
if not self.function_scopes:
return True
else:
return False