From f30e015eb176755d3297439eda1dc62e3d09a434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elisa=20M=C3=A1rquez=20Zavala?= Date: Tue, 15 Oct 2024 13:52:08 +0200 Subject: [PATCH] Update utils.py --- cutiepynb/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cutiepynb/utils.py b/cutiepynb/utils.py index fb93324..4dc5fa7 100644 --- a/cutiepynb/utils.py +++ b/cutiepynb/utils.py @@ -1,4 +1,5 @@ import uuid +import json def generate_corpus_id(): """Generate a random 8-character hexadecimal string using the uuid module.""" @@ -10,4 +11,4 @@ def save_doc_enchulado(doc_chulo, file): with open(name_chulo, "w") as outfile: json.dump(doc_chulo, outfile) - print('Saved as ',name_chulo) \ No newline at end of file + print('Saved as ',name_chulo)