Added full path check of .config.template.toml
This commit is contained in:
1 parent
3a1c972a2a
commit
a7594b8bd4
1 file changed
+3
-2
+3
-2
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
import re
|
||||
from typing import Tuple, Dict
|
||||
|
||||
from pathlib import Path
|
||||
import toml
|
||||
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__":
|
||||
check_toml("utils/.config.template.toml", "config.toml")
|
||||
directory = Path().absolute()
|
||||
check_toml(f"{directory}/utils/.config.template.toml", "config.toml")
|
||||
Reference in new issue
Block a user