rework logging, add more dataclasses, reworked config
This commit is contained in:
@@ -28,7 +28,7 @@ class ParsedTitles(QtWidgets.QWidget, Ui_Form):
|
||||
self.progressBar.setValue(value)
|
||||
|
||||
def worker_quit(self):
|
||||
print("Terminating worker")
|
||||
# print("Terminating worker")
|
||||
self.worker.terminate()
|
||||
self.worker.quit()
|
||||
self.worker.deleteLater()
|
||||
@@ -62,7 +62,7 @@ class ParsedTitles(QtWidgets.QWidget, Ui_Form):
|
||||
def determine_progress(self, signal):
|
||||
# check length of listWidget
|
||||
length = self.listWidget.count()
|
||||
print(f"Length of listWidget: {length}")
|
||||
# print(f"Length of listWidget: {length}")
|
||||
if length == 0:
|
||||
logger.log_info("AutoAdder finished")
|
||||
self.buttonBox.accepted.emit()
|
||||
|
||||
Reference in New Issue
Block a user