We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3fac3 commit 5158ea2Copy full SHA for 5158ea2
addon/globalPlugins/MathCAT/MathCAT.py
@@ -333,9 +333,9 @@ def __init__(self):
333
# super(MathCAT, self).__init__(*args, **kwargs)
334
335
try:
336
- # IMPORTANT -- SetRulesDir must be the first call to libmathcat
+ # IMPORTANT -- SetRulesDir must be the first call to libmathcat besides GetVersion()
337
rules_dir = path.join( path.dirname(path.abspath(__file__)), "Rules")
338
- log.info(f"MathCAT installed. Using rules dir: {rules_dir}")
+ log.info(f"MathCAT {libmathcat.GetVersion()} installed. Using rules dir: {rules_dir}")
339
libmathcat.SetRulesDir(rules_dir)
340
libmathcat.SetPreference("TTS", "SSML")
341
except Exception as e:
0 commit comments