Issue #2073: Fixed Codacy warning

This commit is contained in:
Gochim
2019-12-12 14:02:31 +02:00
parent 9081353634
commit acd774abe5
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class ImplantSetAdd(ContextMenuUnconditional):
return srcContext in ("implantItemMisc", "implantItemMiscChar", "implantEditor")
def getText(self, callingWindow, itmContext):
def getText(self, callingWindow, context):
return "Add As New Implant Set"
def activate(self, callingWindow, fullContext, i):

View File

@@ -17,7 +17,7 @@ class ImplantSetLoad(ContextMenuUnconditional):
return srcContext in ("implantItemMisc", "implantEditor")
def getText(self, callingWindow, itmContext):
def getText(self, callingWindow, context):
return "Load Implant Set"
def getSubMenu(self, callingWindow, context, rootMenu, i, pitem):