Added full path check of .config.template.toml

pull/1205/head
Simon 2 years ago committed by GitHub
parent 3a1c972a2a
commit a7594b8bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
import re import re
from typing import Tuple, Dict from typing import Tuple, Dict
from pathlib import Path
import toml import toml
from rich.console import Console from rich.console import Console
@ -159,4 +159,5 @@ If you see any prompts, that means that you have unset/incorrectly set variables
if __name__ == "__main__": if __name__ == "__main__":
check_toml("utils/.config.template.toml", "config.toml") directory = Path().absolute()
check_toml(f"{directory}/utils/.config.template.toml", "config.toml")

Loading…
Cancel
Save