basic functionality of history now working

This commit is contained in:
azivner
2017-09-23 10:18:08 -04:00
parent 647bbcaee1
commit a14257a31c
4 changed files with 36 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ def updateNote(note_id):
now = math.floor(time.time())
history_cutoff = now - 3600
history_cutoff = now - 600
history = getSingleResult("select id from notes_history where note_id = ? and date_modified >= ?", [note_id, history_cutoff])