From 30d0c9e594da0b3d5eecfc503bb3d933232151b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20M=2E=20L=C3=BCscher?= Date: Tue, 3 Dec 2024 11:20:02 +0100 Subject: [PATCH] add self --- text/processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/processing.py b/text/processing.py index 53e043b5..8d7a37af 100644 --- a/text/processing.py +++ b/text/processing.py @@ -336,8 +336,8 @@ def __init__( self.num_text_file_lines = num_text_file_lines self.zip_output = zip_output - self.num_output_files = self.num_text_file_lines // num_lines_per_split + int( - bool(self.num_text_file_lines % num_lines_per_split) + self.num_output_files = self.num_text_file_lines // self.num_lines_per_split + int( + bool(self.num_text_file_lines % self.num_lines_per_split) ) self.out_split_text_files = {