Skip to content

Commit

Permalink
Attempt to appease flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Procyonae committed Jan 12, 2025
1 parent a65892f commit dc7a977
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lang/string_extractor/parsers/enchant.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ def parse_enchant(json, origin):

if "hit_me_effect" in json:
parse_effect(json["hit_me_effect"], origin)

if "special_vision" in json and "descriptions" in json["special_vision"]:
for description in json["special_vision"]["descriptions"]:
if "text" in description:
special_vision_id = description["id"]
write_text(description["text"], origin,
comment="Description of creature revealed by special vision \"{}\"".format(special_vision_id))
comment="Description of creature revealed by special"

Check failure on line 24 in lang/string_extractor/parsers/enchant.py

View workflow job for this annotation

GitHub Actions / check

continuation line under-indented for visual indent
" vision \"{}\"".format(special_vision_id))

0 comments on commit dc7a977

Please sign in to comment.