Skip to content

Commit

Permalink
revert back changes to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NarenderRajuB committed Oct 9, 2024
1 parent a1c55a1 commit 151f481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/export_config/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from datetime import date

import jsonschema
from flask import current_app
from jsonschema import validate
Expand All @@ -25,7 +25,7 @@ def write_config(config, filename, round_short_name, config_type):
config_dict = convert_to_dict(config) # Convert config to dict for non-JSON types
content_to_write = "LOADER_CONFIG="
content_to_write += str(config_dict)
file_path = os.path.join(output_dir, f"{human_to_snake_case(filename)}_{date.today().strftime('%d-%m-%Y')}.py")
file_path = os.path.join(output_dir, f"{human_to_snake_case(filename)}.py")
elif config_type == "html":
output_dir = os.path.join(base_output_dir, "html/")
content_to_write = config
Expand Down

0 comments on commit 151f481

Please sign in to comment.