Browse Source

py3.7 compatibility

justheuristic 5 years ago
parent
commit
98ebad8d4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tesseract/runtime/__init__.py

+ 1 - 1
tesseract/runtime/__init__.py

@@ -45,7 +45,7 @@ class TesseractRuntime(threading.Thread):
                     outputs = pool.process_func(*batch)
                     output_sender_pool.apply_async(pool.send_outputs_from_runtime, args=[batch_index, outputs])
                     progress.update(len(outputs[0]))
-                    progress.desc = f'{pool.uid=} {len(outputs[0])=}'
+                    progress.desc = f'pool.uid={pool.uid} batch_size={len(outputs[0])}'
             finally:
                 self.shutdown()