update threads
This commit is contained in:
@@ -8,7 +8,7 @@ from src.logic.log import MyLogger
|
||||
from src.transformers import RDS_AVAIL_DATA
|
||||
from src.logic.webrequest import BibTextTransformer, WebRequest
|
||||
import sqlite3
|
||||
from icecream import ic
|
||||
#from icecream import ic
|
||||
|
||||
|
||||
class BookGrabber(QThread):
|
||||
@@ -68,8 +68,8 @@ class BookGrabber(QThread):
|
||||
for rds_item in rds.items:
|
||||
sign = rds_item.superlocation
|
||||
loc = rds_item.location
|
||||
ic(sign, loc)
|
||||
ic(rds_item)
|
||||
#ic(sign, loc)
|
||||
#ic(rds_item)
|
||||
if self.app_id in sign or self.app_id in loc:
|
||||
state = 1
|
||||
break
|
||||
@@ -245,7 +245,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
|
||||
|
||||
Reference in New Issue
Block a user