mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Removed breakpoints
This commit is contained in:
@@ -114,7 +114,8 @@ class Storage:
|
||||
_s = _x.strip()
|
||||
breakpoint()
|
||||
_q_x = """
|
||||
SELECT id FROM collections where collection='%s' AND book_id_id=%s
|
||||
SELECT id FROM collections where collection='%s'\
|
||||
AND book_id_id=%s
|
||||
""" % (
|
||||
_s,
|
||||
book[0],
|
||||
@@ -123,7 +124,8 @@ class Storage:
|
||||
self.cursor.execute(_q_x)
|
||||
if len(self.cursor.fetchall()) < 1:
|
||||
self.cursor.execute(
|
||||
"""INSERT INTO collections (collection, book_id_id) VALUES ('%s',%s)"""
|
||||
"""INSERT INTO collections\
|
||||
(collection, book_id_id) VALUES ('%s',%s)"""
|
||||
% (_s, book[0])
|
||||
)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user