From b6a9d847d710b6c2d8307ba7dae92542efea8ba2 Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Sat, 28 May 2022 01:41:35 +0100 Subject: [PATCH] remove unused var 'mathcontent' --- NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py b/NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py index ee4df5d..d8f5fed 100644 --- a/NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py +++ b/NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py @@ -296,14 +296,10 @@ def __init__(self): speech.speakMessage(_("MathCAT initialization failed: see NVDA error log for details")) - # store mathcontent for navigation and copy - mathcontent = None - def getSpeechForMathMl(self, mathml): self._setSpeechLanguage(mathml) try: libmathcat.SetMathML(mathml) - mathcontent = mathml except Exception as e: log.error(e) speech.speakMessage(_("Illegal MathML found: see NVDA error log for details"))