Skip to content

Commit

Permalink
Strip single quotes from field names (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitastupin committed Jun 3, 2022
1 parent 52bfa61 commit 9686806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clairvoyance/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_valid_fields(error_message: str) -> Set:

for m in match.group("multi").split(", "):
if m:
valid_fields.add(m.strip('"'))
valid_fields.add(m.strip('"').strip("'"))

if match.group("last"):
valid_fields.add(match.group("last"))
Expand Down

0 comments on commit 9686806

Please sign in to comment.