From 990aac0cf80a2aa2c2e2d8dbdd3fbde080842304 Mon Sep 17 00:00:00 2001 From: ryansurf Date: Sat, 25 May 2024 00:05:01 -0700 Subject: [PATCH] help text path --- src/backend/main.py | 1 - src/backend/server.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/main.py b/src/backend/main.py index cbd3fe6..08b59d3 100644 --- a/src/backend/main.py +++ b/src/backend/main.py @@ -15,7 +15,6 @@ website = bool(os.getenv("WEBSITE")) if website == True: - print("RUNNING WEBSITE") subprocess.Popen(["python", "-m", "http.server", "9000"], cwd="../frontend") args = helper.seperate_args(sys.argv) diff --git a/src/backend/server.py b/src/backend/server.py index d2f7e47..0493195 100644 --- a/src/backend/server.py +++ b/src/backend/server.py @@ -38,7 +38,7 @@ def do_GET(self): # If 'help' is in the args, read and return the content of help.txt try: with open( - "../help.txt", "r", encoding="utf-8", errors="ignore" + "../../help.txt", "r", encoding="utf-8", errors="ignore" ) as file: help_text = file.read() self.send_response(200)