Skip to content

Commit

Permalink
Better split unescape
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 4, 2020
1 parent 76212ad commit 17a8f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier/base.py
Expand Up @@ -293,7 +293,7 @@
app instance, as that would create some serious problems """

CASTERS = {
list : lambda v: [y for y in itertools.chain(*[x.split(",") for x in v])],
list : lambda v: [y for y in itertools.chain(*[util.split_unescape(x, ",") for x in v])],
bool : lambda v: v if isinstance(v, bool) else\
not v in ("", "0", "false", "False")
}
Expand Down

0 comments on commit 17a8f8a

Please sign in to comment.