fix: Windows path in update

pull/197/head
Raphaël Vinot 2021-04-06 17:43:45 +02:00
parent c38ec90bb1
commit 4847fdb670
1 changed files with 3 additions and 3 deletions

View File

@ -81,15 +81,15 @@ def main():
print('* Validate configuration files.')
keep_going(args.yes)
run_command(f'poetry run {str(Path("tools") / "validate_config_files.py")} --check')
run_command(f'poetry run {(Path("tools") / "validate_config_files.py").as_posix()} --check')
print('* Update configuration files.')
keep_going(args.yes)
run_command(f'poetry run {str(Path("tools") / "validate_config_files.py")} --update')
run_command(f'poetry run {(Path("tools") / "validate_config_files.py").as_posix()} --update')
print('* Update third party dependencies for the website.')
keep_going(args.yes)
run_command(f'poetry run {str(Path("tools") / "3rdparty.py")}')
run_command(f'poetry run {(Path("tools") / "3rdparty.py").as_posix()}')
print('* Restarting Lookyloo.')
keep_going(args.yes)