Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit fe043ce4 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

WIP

parent d81e8c8d
No related tags found
No related merge requests found
Changelog
===========
5.1.2
-----
- Task: automatic ``env_name`` change to remove colons from the name
5.1.1
-----
......
......@@ -157,7 +157,8 @@ def get_or_create_env(
elif env_name is None:
if new:
# regardless the existing env, we create a new one
env_dir = Path("enos_" + datetime.today().isoformat())
env_dir_key = datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
env_dir = Path(f"enos_{env_dir_key}")
env_file = env_dir.joinpath(ENV_FILENAME)
# This prepares the env_dir
_create_env_dir(env_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment