From bba61987c218fe394e8fb53df6b5aac42a1e672d Mon Sep 17 00:00:00 2001 From: oleting Date: Mon, 21 Dec 2020 22:51:50 +0100 Subject: [PATCH] + fix coding style --- NassiShneidermann.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NassiShneidermann.py b/NassiShneidermann.py index 685eb86..ac2a632 100644 --- a/NassiShneidermann.py +++ b/NassiShneidermann.py @@ -1,7 +1,7 @@ from os import cpu_count from code_to_image import NSD_save from Iinstruction import Iinstruction -import interpet_source as itp +from interpet_source import load_src, get_scoped_instructions import logging class NassiShneidermanDiagram: @@ -31,8 +31,8 @@ class NassiShneidermanDiagram: cti.NSD_save(filename) def load_from_file(self, filepath:str): - source_code = itp.load_src(filepath) - instructions = itp.get_scoped_instructions(filepath) + source_code = load_src(filepath) + instructions = get_scoped_instructions(filepath)