Little changes working with presets

This commit is contained in:
Kibzik
2023-03-17 18:39:44 +03:00
parent e073ff0623
commit 40e153130b
4 changed files with 6 additions and 6 deletions

View File

@@ -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()}.")