We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71df69c commit 3774e38Copy full SHA for 3774e38
1 file changed
scoreboard/main.py
@@ -228,7 +228,9 @@ def main():
228
)
229
args = parser.parse_args()
230
231
- output_file = Path(args.output) / "index.html"
+ output_path = Path(args.output)
232
+ output_path.mkdir(parents=True, exist_ok=True)
233
+ output_file = output_path / "index.html"
234
with open(output_file, "w") as file:
235
file.write(html_content)
236
0 commit comments