Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit d3c24c84 authored by Christophe Benz's avatar Christophe Benz

Create generated dir if needed

parent fe8d03da
......@@ -461,6 +461,9 @@ def main():
if not os.path.exists(json_file_path):
parser.error('JSON file "{}" does not exist.'.format(json_file_path))
if not os.path.isdir(generated_dir_path):
os.mkdir(generated_dir_path)
write_source(
file_name='variables_definitions.py',
json_file_name='tgvH.json',
......
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