Skip to content

Commit

Permalink
remove unused var 'mathcontent'
Browse files Browse the repository at this point in the history
  • Loading branch information
NSoiffer committed May 28, 2022
1 parent 6c57edc commit b6a9d84
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit b6a9d84

Please sign in to comment.