From d0758a984ccc6e33ecf33586185d551ca8a73c8a Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 12 Mar 2024 14:55:36 +0000 Subject: [PATCH] moved the index.html file --- .gitignore | 1 + script.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dcaf716 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +index.html diff --git a/script.py b/script.py index 50aeaae..4d2f248 100644 --- a/script.py +++ b/script.py @@ -22,5 +22,5 @@ output = template.render(uptime = thing.stdout) # printing the output on screen print(output) -with open("renders/output.html", 'w') as f: +with open("index.html", 'w') as f: print(output, file = f)