Skip to content

Commit ab69c3d

Browse files
author
Michael Johansen
committed
Try keeping as bintime to see if mypy errors on the PR.
Signed-off-by: Michael Johansen <[email protected]>
1 parent 2cf57b4 commit ab69c3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nipanel/converters/protobuf_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def to_python_value(self, protobuf_message: DoubleAnalogWaveform) -> AnalogWavef
107107
bin_datetime = pt_converter.to_python_value(protobuf_message.t0)
108108
# TODO: We shouldn't need to convert to dt.datetime here.
109109
# I'm only doing this to avoid a mypy error. This needs to be fixed.
110-
timestamp = bin_datetime._to_datetime_datetime()
110+
# timestamp = bin_datetime._to_datetime_datetime()
111+
timestamp = bin_datetime
111112

112113
# Sample Interval
113114
if not protobuf_message.dt:

0 commit comments

Comments
 (0)