Skip to content

Commit 5158ea2

Browse files
committed
Add version number to startup log message
1 parent ba3fac3 commit 5158ea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/globalPlugins/MathCAT/MathCAT.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ def __init__(self):
333333
# super(MathCAT, self).__init__(*args, **kwargs)
334334

335335
try:
336-
# IMPORTANT -- SetRulesDir must be the first call to libmathcat
336+
# IMPORTANT -- SetRulesDir must be the first call to libmathcat besides GetVersion()
337337
rules_dir = path.join( path.dirname(path.abspath(__file__)), "Rules")
338-
log.info(f"MathCAT installed. Using rules dir: {rules_dir}")
338+
log.info(f"MathCAT {libmathcat.GetVersion()} installed. Using rules dir: {rules_dir}")
339339
libmathcat.SetRulesDir(rules_dir)
340340
libmathcat.SetPreference("TTS", "SSML")
341341
except Exception as e:

0 commit comments

Comments
 (0)