+ fix coding style

This commit is contained in:
oleting
2020-12-21 22:51:50 +01:00
parent 06f6a70909
commit bba61987c2

View File

@@ -1,7 +1,7 @@
from os import cpu_count from os import cpu_count
from code_to_image import NSD_save from code_to_image import NSD_save
from Iinstruction import Iinstruction from Iinstruction import Iinstruction
import interpet_source as itp from interpet_source import load_src, get_scoped_instructions
import logging import logging
class NassiShneidermanDiagram: class NassiShneidermanDiagram:
@@ -31,8 +31,8 @@ class NassiShneidermanDiagram:
cti.NSD_save(filename) cti.NSD_save(filename)
def load_from_file(self, filepath:str): def load_from_file(self, filepath:str):
source_code = itp.load_src(filepath) source_code = load_src(filepath)
instructions = itp.get_scoped_instructions(filepath) instructions = get_scoped_instructions(filepath)