diff --git a/addon/globalPlugins/versionCollector/__init__.py b/addon/globalPlugins/versionCollector/__init__.py index 221225e..2c7f971 100644 --- a/addon/globalPlugins/versionCollector/__init__.py +++ b/addon/globalPlugins/versionCollector/__init__.py @@ -120,7 +120,7 @@ def __init__(self, *args, **kwargs): # Run our handler whenever the application changes post_appSwitch.register(self.onAppSwitch) # Seed the pond - postNvdaStartup.register(self.onAppSwitch()) + postNvdaStartup.register(self.onAppSwitch) # Become aware of all NVDA add-ons postNvdaStartup.register(self.retrieveInstalledAddons) @@ -129,6 +129,7 @@ def terminate(self) -> None: post_appSwitch.unregister(self.onAppSwitch) postNvdaStartup.unregister(self.onAppSwitch) postNvdaStartup.unregister(self.retrieveInstalledAddons) + super().terminate() @script( gesture="kb:NVDA+control+shift+v", @@ -276,8 +277,13 @@ def getStructuredAddonList(self, useHTML=False) -> str: ) def showHTMLReport(self) -> None: + output = """ + """ # Translators: Suggestions on how a user can interact with the Version Report. - output = "
" + _("Use shift+arrow keys to select, ctrl+c to copy to clipboard.") + output += "
" + _("Use shift+arrow keys to select, ctrl+c to copy to clipboard.") output += """
\nNAME | VERSION | BITNESS |
---|---|---|