diff --git a/addon/globalPlugins/MathCAT/MathCAT.py b/addon/globalPlugins/MathCAT/MathCAT.py index bbdba65..48e357d 100644 --- a/addon/globalPlugins/MathCAT/MathCAT.py +++ b/addon/globalPlugins/MathCAT/MathCAT.py @@ -333,9 +333,9 @@ def __init__(self): # super(MathCAT, self).__init__(*args, **kwargs) try: - # IMPORTANT -- SetRulesDir must be the first call to libmathcat + # IMPORTANT -- SetRulesDir must be the first call to libmathcat besides GetVersion() rules_dir = path.join( path.dirname(path.abspath(__file__)), "Rules") - log.info(f"MathCAT installed. Using rules dir: {rules_dir}") + log.info(f"MathCAT {libmathcat.GetVersion()} installed. Using rules dir: {rules_dir}") libmathcat.SetRulesDir(rules_dir) libmathcat.SetPreference("TTS", "SSML") except Exception as e: