HK: some stuff ruff and pycodestyle complained about (#4523)

This commit is contained in:
qwint
2025-01-20 17:42:12 -05:00
committed by GitHub
parent e2b942139a
commit a126dee068
4 changed files with 30 additions and 28 deletions

View File

@@ -333,7 +333,7 @@ class PlandoCharmCosts(OptionDict):
continue
try:
self.value[key] = CharmCost.from_any(data).value
except ValueError as ex:
except ValueError:
# will fail schema afterwords
self.value[key] = data