diff --git a/tools/python/mwm/mwm_pygen.py b/tools/python/mwm/mwm_pygen.py index 0f00e5ab32..604def4160 100644 --- a/tools/python/mwm/mwm_pygen.py +++ b/tools/python/mwm/mwm_pygen.py @@ -15,7 +15,7 @@ def init(resource_path): class MwmPygen(mi.Mwm): - def __init__(self, filename: str, parse: bool = True): + def __init__(self, filename: str, parse: bool = False): super().__init__(filename) self.mwm = mwm.Mwm(filename, parse) diff --git a/tools/python/mwm/mwm_python.py b/tools/python/mwm/mwm_python.py index 62483147fa..1f235a8b32 100644 --- a/tools/python/mwm/mwm_python.py +++ b/tools/python/mwm/mwm_python.py @@ -18,7 +18,7 @@ logger = logging.getLogger(__name__) class MwmPython(mi.Mwm): - def __init__(self, filename: str, parse: bool = True): + def __init__(self, filename: str, parse: bool = False): super().__init__(filename) self.f = open(filename, "rb")