Commit 42b4e979 authored by dimitri.szabo's avatar dimitri.szabo
Browse files

Revoved check already implemented in click call

parent 4af34589
Pipeline #51527 failed with stage
in 33 seconds
......@@ -99,9 +99,6 @@ def tsvsToProperties(tsv_dir: str, properties_dir: str)-> None:
tsv_dir: Chemin vers le répertoire contentant les tsvs.
properties_dir: Chemin vers le répertoire où générer les properties.
"""
# Si le chemin ne finit pas par "/" le script change le nom et pas le répertoire
if not tsv_dir.endswith("/"):
tsv_dir+="/"
for file in os.listdir(tsv_dir):
if file.endswith(".tsv"):
singleTsvToProperties(tsv_dir+file, properties_dir+os.path.splitext(tsv)[0]+".properties")
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment