This commit is contained in:
WorldTeacher
2024-09-23 15:48:02 +02:00
parent e5816b40d2
commit e7efdc8481
7 changed files with 14 additions and 14 deletions

View File

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