Skip to content

Commit a1f6a91

Browse files
authored
Merge pull request #2642 from Morpheme777/fix-log-abilityid
fix unreadable log messages referencing to abliity_id
2 parents 08f164d + 4654ec9 commit a1f6a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/service/data_svc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async def load_ability_file(self, filename, access):
169169
ab.pop('plugin', plugin)
170170

171171
if tactic and tactic not in filename:
172-
self.log.error('Ability=%s has wrong tactic' % id)
172+
self.log.error('Ability=%s has wrong tactic' % ability_id)
173173

174174
await self._create_ability(ability_id=ability_id, name=name, description=description, tactic=tactic,
175175
technique_id=technique_id, technique_name=technique_name,

0 commit comments

Comments
 (0)