+ global debug_mode
This commit is contained in:
1 parent
b1825f3df3
commit
de96db0806
2 files changed
+5
-3
No files matched your search
@@ -4,14 +4,14 @@ import logging
|
||||
from draw.Iinstruction import Iinstruction
|
||||
from interpreter import interpret_source as itp
|
||||
from draw import code_to_image as cti
|
||||
# from gui.gui import
|
||||
from gui.gui import gui
|
||||
|
||||
|
||||
class NassiShneidermanDiagram:
|
||||
|
||||
def __init__(self, debug: bool=False) -> None:
|
||||
self.instructions: dict[str, Iinstruction] = {}
|
||||
self.init_logging(debug)
|
||||
self.init_logging(gui.debug_mode)
|
||||
|
||||
def init_logging(self, debug: bool):
|
||||
logLevel = logging.INFO
|
||||
|
||||
Reference in new issue
Block a user