Skip to content

Commit a515990

Browse files
committed
remove log.info debugging statements
1 parent 30dc741 commit a515990

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

addon/globalPlugins/MathCAT/MathCATPreferences.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ def GetSpeechStyles(self, this_SpeechStyle: str):
334334
this_language_code = getCurrentLanguage().lower().replace("_", "-")
335335
# FIX: when dialog is aware of regional dialects, remove this next line that removes the dialect part
336336
this_language_code = this_language_code.split("-")[0] # grab the first part
337-
log.info(f"Language==Auto, voice is '{this_language_code}'")
338337

339338
this_language_path = (
340339
os.path.expanduser("~")
@@ -345,14 +344,11 @@ def GetSpeechStyles(self, this_SpeechStyle: str):
345344
# populate the m_choiceSpeechStyle choices
346345
# start with listing unzipped dirs
347346
all_style_files = [os.path.basename(name) for name in glob.glob(this_path)]
348-
log.info(f'\nGetSpeechStyles: lang={this_language_code}, non-zipped sytle files found: {all_style_files}')
349347
if len(all_style_files) == 0:
350348
# look in the .zip file for the style files
351349
zip_file = ZipFile(f"{this_language_path}\\{this_language_code}.zip", "r")
352350
all_style_files = [name for name in zip_file.namelist() if name.endswith('_Rules.yaml')]
353-
log.info(f'...: non-zipped style files found: {all_style_files}')
354351
for name in all_style_files:
355-
log.info(f'...in loop, appending name="{name[: name.find("_Rules.yaml")]}"')
356352
self.m_choiceSpeechStyle.Append((name[: name.find("_Rules.yaml")]))
357353
try:
358354
# set the SpeechStyle to the same as previous

0 commit comments

Comments
 (0)