forked from LiveCarta/BookConverter
Little changes working with presets
This commit is contained in:
@@ -58,8 +58,8 @@ def callback(ch, method, properties, body: bytes, main_logger: logging.Logger, l
|
||||
"params": book_params
|
||||
}
|
||||
|
||||
thread = Thread(target=convert_book, kwargs=params)
|
||||
# thread = Thread(target=local_convert_book, kwargs=params)
|
||||
# thread = Thread(target=convert_book, kwargs=params)
|
||||
thread = Thread(target=local_convert_book, kwargs=params)
|
||||
thread.start()
|
||||
logging.log(logging.INFO, f"Active threads: {active_count()}.")
|
||||
# print(f"Active threads: {active_count()}.")
|
||||
|
||||
Reference in New Issue
Block a user