Skip to content

Commit 354de65

Browse files
committed
Update settings.py
1 parent 07275f9 commit 354de65

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

utils/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def check_toml(template_file: str, config_file: str):
138138
return config
139139

140140

141-
if __name__ == "__main__":
142-
directory = Path().absolute()
143-
check_toml(f"{directory}/utils/.config.template.toml", "config.toml")
144-
145141

146142
def get_config() -> Dict[str, Any]:
147143
directory = Path().absolute()
@@ -161,3 +157,7 @@ def get_config() -> Dict[str, Any]:
161157
)
162158
sys.exit()
163159
return config
160+
161+
if __name__ == "__main__":
162+
directory = Path().absolute()
163+
check_toml(f"{directory}/utils/.config.template.toml", "config.toml")

0 commit comments

Comments
 (0)