Skip to content

Commit

Permalink
Fix mistake in regex code
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Feb 23, 2024
1 parent a8c19c9 commit 14884ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakebids/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __call__(
key = pair
value = None
if ":" in key:
key, spec = cast("tuple[str, str]", pair.split(":", 1))
key, spec = cast("tuple[str, str]", key.split(":", 1))
spec = spec.lower()
if spec == "optional":
value = OptionalFilter
Expand Down

0 comments on commit 14884ef

Please sign in to comment.