Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
klpanagi committed Mar 24, 2023
2 parents 214b875 + bbf437c commit b812d91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = """Konstantinos Panayiotou"""
__email__ = '[email protected]'
__version__ = "0.10.5"
__version__ = "0.10.6"
2 changes: 1 addition & 1 deletion commlib/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def make_primitive_value(val: Any):
return list([JSONSerializer.make_primitive_value(v) for v in val])
elif isinstance(val, Decimal) or isinstance(val, float):
return float(val)
elif isinstance(val, int):
elif isinstance(val, int) and str(val).isdigit():
return int(val)
elif isinstance(val, bool):
return bool(val)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "commlib-py"
version = "0.10.5"
version = "0.10.6"
description = "Internal DSL for communication and messaging in CPS"
authors = ["Konstantinos Panayiotou <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit b812d91

Please sign in to comment.