diff --git a/influxdb/line_protocol.py b/influxdb/line_protocol.py index 4ec56dc5..c399a1d5 100644 --- a/influxdb/line_protocol.py +++ b/influxdb/line_protocol.py @@ -75,7 +75,7 @@ def quote_literal(value): def _is_float(value): try: float(value) - except ValueError: + except (TypeError, ValueError): return False return True