From 84b3b304ccb25f99207c38fb1473be48758d2290 Mon Sep 17 00:00:00 2001 From: Leonard de Ruijter Date: Tue, 25 Jul 2023 11:25:06 +0200 Subject: [PATCH] Lint --- addon/installTasks.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addon/installTasks.py b/addon/installTasks.py index 9c4e38c..5670cf2 100644 --- a/addon/installTasks.py +++ b/addon/installTasks.py @@ -8,7 +8,6 @@ from .lib import configuration from .lib import rdPipe else: - import addonHandler addon: addonHandler.Addon = addonHandler.getCodeAddon() configuration = addon.loadModule("lib.configuration") rdPipe = addon.loadModule("lib.rdPipe") @@ -19,13 +18,14 @@ def onInstall(): if addon.name == "nvdaRd": result = gui.messageBox( # Translators: message asking the user to remove nvdaRd add-on - _("This add-on was previously called NVDA Remote Desktop. " - "You have an installed version of that add-on. " - "Would you like to update to RDAccess?"), + _( + "This add-on was previously called NVDA Remote Desktop. " + "You have an installed version of that add-on. " + "Would you like to update to RDAccess?" + ), # Translators: question title _("Previous version detected"), - wx.YES_NO|wx.ICON_QUESTION, - gui.mainFrame + wx.YES_NO | wx.ICON_WARNING ) if result == wx.YES: addon.requestRemove()