Fix incorrect order of fields in SQL statement.

My kingdom for a better SQL DSL.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-08-19 15:33:52 +01:00
parent db242c7652
commit decc5ff412

View File

@ -406,5 +406,5 @@ class MagicFolderDB(BackupDB):
self.cursor.execute("UPDATE local_files"
" SET size=?, mtime=?, ctime=?, fileid=?, version=?"
" WHERE path=?",
(size, mtime, ctime, fileid, path, version))
(size, mtime, ctime, fileid, version, path))
self.connection.commit()