Skip to content

Commit

Permalink
Fix: crash on import due to incompatible types (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Dickinson authored Jul 27, 2024
1 parent 375d173 commit aeeb8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meshdb/utils/spreadsheet_import/parse_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def normalize_building_node_links(building: models.Building, node: models.Node):
node
for node in sorted(
active_nodes if active_nodes else nodes_in_cluster,
key=lambda node: node.install_date or datetime.datetime.max,
key=lambda node: node.install_date or datetime.date.max,
)
][0]

Expand Down

0 comments on commit aeeb8d6

Please sign in to comment.