rest of files, not sorted

This commit is contained in:
WorldTeacher
2024-05-17 08:35:37 +02:00
parent 7a0f7ed1f1
commit d7853ab67d
82 changed files with 10724 additions and 2309 deletions

View File

@@ -2,10 +2,11 @@ import os
import sqlite3
import time
#from icecream import ic
# from icecream import ic
from omegaconf import OmegaConf
from PyQt6 import QtWidgets
from PyQt6.QtCore import QThread, pyqtSignal as Signal
from PyQt6.QtCore import QThread
from PyQt6.QtCore import pyqtSignal as Signal
from src.backend.database import Database
from src.logic.log import MyLogger
@@ -26,7 +27,7 @@ class BackgroundChecker(QThread):
class MockAvailCheck:
def __init__(
self, links: list = [], appnumber: int = None, parent=None, books=list[dict]
self, links: list = None, appnumber: int = None, parent=None, books=list[dict]
):
if links is None:
links = []
@@ -58,7 +59,7 @@ class MockAvailCheck:
for item in rds.items:
sign = item.superlocation
loc = item.location
#ic(item.location, item.superlocation)
# ic(item.location, item.superlocation)
if self.appnumber in sign or self.appnumber in loc:
state = 1
book_id = None
@@ -197,18 +198,3 @@ class MailThread(QThread):
def run(self):
self.show_ui()
self.updateSignal.emit(1)