Skip to content

Commit

Permalink
fix(analytics): handle missing dates
Browse files Browse the repository at this point in the history
  • Loading branch information
open-dynaMIX committed Feb 3, 2023
1 parent f8b5a3d commit a06181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caluma/caluma_analytics/simple_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def parse_value(self, value):
same datatype which leads to inconsistency. E.g versions < 12 returns a
float while later versions return a decimal.
"""
return int(value)
return int(value) if value is not None else None


class BaseStartingObject:
Expand Down

0 comments on commit a06181a

Please sign in to comment.