Skip to content

Commit 833fd27

Browse files
committed
Fix build warning on 3.14
1 parent 11b9b89 commit 833fd27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hgraph/adaptors/perspective/_perspetive_publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _publish_table_from_tsd(
145145
state.manager.update_table(name, state.data, state.removed)
146146
if history:
147147
state.manager.update_table(name + "_history", state.history)
148-
elif history is 0:
148+
elif history == 0:
149149
state.manager.replace_table(name + "_history", state.history)
150150

151151
state.data = []

0 commit comments

Comments
 (0)