mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix tmp variables path (again)
This commit is contained in:
parent
dc18f98846
commit
4f324231d2
1 changed files with 3 additions and 2 deletions
|
@ -192,11 +192,12 @@ if __name__ == "__main__":
|
|||
help="path to the file containing environment variables",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
tmp_variables_path = Path(
|
||||
tmp_variables_path = (
|
||||
normpath(args.variables)
|
||||
if args.variables
|
||||
else (sep, "var", "tmp", "bunkerweb", "variables.env")
|
||||
else join(sep, "var", "tmp", "bunkerweb", "variables.env")
|
||||
)
|
||||
tmp_variables_path = Path(tmp_variables_path)
|
||||
dotenv_env = dotenv_values(str(tmp_variables_path))
|
||||
|
||||
# Instantiate scheduler
|
||||
|
|
Loading…
Reference in a new issue