From dc81080749df6f4396347496fe5be1db6af1a47a Mon Sep 17 00:00:00 2001
From: Cresson Remi <remi.cresson@irstea.fr>
Date: Mon, 4 Dec 2023 10:32:34 +0100
Subject: [PATCH] Update script.py

---
 script.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/script.py b/script.py
index 9516240..7f41595 100644
--- a/script.py
+++ b/script.py
@@ -10,5 +10,5 @@ tasks=[f"hello from task {i}" for i in range(params.nbtasks)]
 item_file = os.environ["ITEMS_FILE"]
 with open(item_file, 'w') as f:
   json.dump(tasks, f)
-#with open(os.environ["COUNT_FILE"], 'w') as f:
-#    f.write(str(len(tasks)))
+with open(os.environ["COUNT_FILE"], 'w') as f:
+    f.write(str(len(tasks)))
-- 
GitLab