mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-06 22:50:14 +02:00
mbreorder: avoid spaces in logger name
This commit is contained in:
parent
d6cdb69acb
commit
b094a6b77f
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class machine_based_reading_order_on_layout:
|
||||||
):
|
):
|
||||||
self.dir_out = dir_out
|
self.dir_out = dir_out
|
||||||
|
|
||||||
self.logger = logger if logger else getLogger('mbro on layout')
|
self.logger = logger if logger else getLogger('mbreorder')
|
||||||
# for parallelization of CPU-intensive tasks:
|
# for parallelization of CPU-intensive tasks:
|
||||||
self.executor = ProcessPoolExecutor(max_workers=cpu_count(), timeout=1200)
|
self.executor = ProcessPoolExecutor(max_workers=cpu_count(), timeout=1200)
|
||||||
atexit.register(self.executor.shutdown)
|
atexit.register(self.executor.shutdown)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue