Skip to content

Commit

Permalink
fix: use the fixstring method in the DateWrittenHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Feb 21, 2024
1 parent aaa4440 commit 4c4f51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viecpro_typesense/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def func(x, y): return f"{fixstring(x)}, {fixstring(y)}"


class DateWrittenHandler(Handler):
def func(x): return x.split("<")[0] if x else ""
def func(x): return fixstring(x.split("<")[0]) if x else ""


class RelatedRelationEntityFieldHandler(Handler):
Expand Down

0 comments on commit 4c4f51f

Please sign in to comment.