Skip to content

Build your personal knowledge base with Trilium Notes

history fix

azivnera3425a09ffb1
diff --git a/src/notes_api.py b/src/notes_api.py
index 7bed830ff8..51d635603e 100644
--- a/src/notes_api.py
+++ b/src/notes_api.py
@@ -44,7 +44,7 @@ def updateNote(note_id):
now = math.floor(time.time())
- history_snapshot_time_interval = getOption('history_snapshot_time_interval')
+ history_snapshot_time_interval = float(getOption('history_snapshot_time_interval'))
history_cutoff = now - history_snapshot_time_interval