From a0666570fe5e2c7f9af7daf39696966eb2c7e5f2 Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Mon, 22 Aug 2022 16:04:32 +0200
Subject: [PATCH] Remove "example" from filename

Signed-off-by: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
---
 src/doc2tosca.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/doc2tosca.py b/src/doc2tosca.py
index f154652..2250fb0 100644
--- a/src/doc2tosca.py
+++ b/src/doc2tosca.py
@@ -405,7 +405,8 @@ def print_to_files(prefix=None):
 
     for k in EXAMPLES:
         if prefix is not None:
-            fnm = os.path.join(prefix, "example_"+EXAMPLES[k].filename)
+            #fnm = os.path.join(prefix, "example_"+EXAMPLES[k].filename)
+            fnm = os.path.join(prefix, EXAMPLES[k].filename)
         else:
             fnm = EXAMPLES[k].filename
         logging.info("Writing example file: " + fnm)
-- 
GitLab