Renames FOLDER to SRC_DIR

pull/50/head
Toran Bruce Richards 2023-04-04 10:00:53 +01:00 committed by GitHub
parent 4c66cd6f4a
commit 6d86444b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ SRC_DIR = Path(__file__).parent
def load_prompt():
try:
# Load the promt from data/prompt.txt
with open(FOLDER / "data/prompt.txt", "r") as prompt_file:
with open(SRC_DIR/ "data/prompt.txt", "r") as prompt_file:
prompt = prompt_file.read()
return prompt