Skip to content

Commit

Permalink
Merge pull request #94 from thomo/patch-1
Browse files Browse the repository at this point in the history
fix comment in sanitize_value
  • Loading branch information
bb-Ricardo authored Feb 14, 2023
2 parents 186de65 + 1055c41 commit b85700a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fritzinfluxdb/classes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def sanitize_value(self, value):
if "." in value:
# noinspection PyBroadException
try:
# try to convert value to int
# try to convert value to float
return float(value)
except Exception:
pass
Expand Down

0 comments on commit b85700a

Please sign in to comment.