Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
🐛 Only convert non-None to str
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jun 4, 2018
1 parent 01864e8 commit ed41e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_in/github_checks_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__all__ = 'NewCheckRequest', 'UpdateCheckRequest', 'to_gh_query'


str_attrib = partial(attr.ib, converter=str)
str_attrib = partial(attr.ib, converter=lambda s: str(s) if s is not None else '')

optional_attrib = partial(
attr.ib,
Expand Down

0 comments on commit ed41e46

Please sign in to comment.