changes
This commit is contained in:
@@ -40,7 +40,7 @@ class NewEntry(QtWidgets.QDialog, Ui_Dialog):
|
||||
)
|
||||
def populateTable(self):
|
||||
for title in self.titles:
|
||||
print(title)
|
||||
# print(title)
|
||||
entries = self.db.getMediaSimilarSignatureByID(title)
|
||||
# sort by signature
|
||||
entries.sort(key=lambda x: x.signature, reverse=True)
|
||||
@@ -66,7 +66,7 @@ class NewEntry(QtWidgets.QDialog, Ui_Dialog):
|
||||
signature=signature,
|
||||
ppn=eval(ppn),
|
||||
)
|
||||
print(book)
|
||||
# print(book)
|
||||
if not self.db.checkMediaExists(book):
|
||||
newBookId = self.db.insertMedia(book)
|
||||
self.newIds.append(newBookId)
|
||||
|
||||
Reference in New Issue
Block a user