From a3425a09ffb1a0fe646f063e85f52574dae41ca8 Mon Sep 17 00:00:00 2001 From: azivner Date: Sun, 24 Sep 2017 21:06:17 -0400 Subject: [PATCH] history fix --- src/notes_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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