Issue #2073: Fixed Codacy warning
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user