Removed breakpoints

This commit is contained in:
Raelon Masters
2020-04-06 17:15:55 -04:00
parent 53e9a1d222
commit 8431b6b2a5
2 changed files with 4 additions and 3 deletions

View File

@@ -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:

View File

@@ -206,7 +206,6 @@ def menu(which, _set=1):
x = x + 1
else:
x = 0
breakpoint()
# TODO trim #'s and symbols from front of collection name
if len(i.collection) > 16:
collection_string = i.collection[0:16] + " ..."