diff --git a/src/notes_api.py b/src/notes_api.py index 7bed830ff..51d635603 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