From bf567438a9720c18f7e0045f4b198cf143fa7053 Mon Sep 17 00:00:00 2001 From: zlg Date: Tue, 9 Oct 2018 23:30:29 -0700 Subject: update_game: ensure notes are also saved --- src/vgstash/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vgstash/__init__.py b/src/vgstash/__init__.py index ee07c78..e3ede03 100755 --- a/src/vgstash/__init__.py +++ b/src/vgstash/__init__.py @@ -308,9 +308,9 @@ class DB(object): c = self.conn.cursor() # TODO: do this better c.execute("UPDATE games\ - SET title=?, system=?, ownership=?, progress=?\ + SET title=?, system=?, ownership=?, progress=?, notes=?\ WHERE title=? AND system=?", - (source.title, source.system, source.ownership, source.progress, target.title, target.system)) + (source.title, source.system, source.ownership, source.progress, source.notes, target.title, target.system)) self.conn.commit() return (c.rowcount > 0) else: -- cgit v1.2.3-54-g00ecf lass='tabs'> aboutsummaryrefslogtreecommitdiff
path: root/ch1/1-07_eof-value.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-01-09Refactor syscalls.h for ch8 exerciseszlg3-117/+234
2018-12-22Solve Exercise 8-2: fopen and fillbufzlg3-0/+181
2018-08-22AUTHORS: update contact infozlg1-1/+1
2017-05-20perfeeerrrrrmzlg1-1/+1
2017-05-208-1: Correct superfluous increment, commentzlg1-2/+1