~ small fix

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

No files matched your search

+6 -1
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