diff --git a/buku.py b/buku.py index 5f760b9..54e3ba8 100755 --- a/buku.py +++ b/buku.py @@ -1961,9 +1961,13 @@ class BukuDb: qry = 'INSERT INTO bookmarks(URL, metadata, tags, desc, flags) VALUES (?, ?, ?, ?, ?)' for row in resultset: outdb.cur.execute(qry, (row[1], row[2], row[3], row[4], row[5])) - outdb.conn.commit() outdb.close() + + count = self.get_max_id() + if count == -1: + count = 0 + print('%s exported' % count) return True try: