add flush

This commit is contained in:
Hendrik Schutter 2023-07-25 20:50:42 +02:00
parent c5f990d065
commit ecb3b052af

View File

@ -134,6 +134,7 @@ def main():
for path in os.listdir(source_dir_path):
if os.path.isfile(os.path.join(source_dir_path, path)):
print("Found scan: " + str(os.path.join(source_dir_path, path)), end=" ")
sys.stdout.flush()
try:
auto_crop_scan(os.path.join(source_dir_path, path), tmp_dir_path)
convert_to_avif(tmp_dir_path, destination_dir_path)