diff --git a/scripts/combine_tesseract_with_pero_ocr_docker.py b/scripts/combine_tesseract_with_pero_ocr_docker.py
index 2b326eb097a2b686ff1cbe18dd818876f042e1c3..98c0ffae7a9262aa9edd8c20720f4d466300f84d 100644
--- a/scripts/combine_tesseract_with_pero_ocr_docker.py
+++ b/scripts/combine_tesseract_with_pero_ocr_docker.py
@@ -50,11 +50,11 @@ def main() -> None:
         if is_multicolumn(input_tesseract_filename.with_suffix('.hocr')):
             shutil.copy(input_tesseract_filename, output_filename)
             with decision_filename.open('wt') as f:
-                print('hocr', file=f)
+                print('tesseract', file=f)
         else:
             shutil.copy(input_pero_ocr_filename, output_filename)
             with decision_filename.open('wt') as f:
-                print('txt', file=f)
+                print('pero', file=f)
 
 
 if __name__ == '__main__':