From 39dd63b249d36469375f16529142b161408d7514 Mon Sep 17 00:00:00 2001 From: zPlus Date: Sun, 26 Nov 2023 10:17:48 +0100 Subject: [PATCH] Change location of library txt files. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 9f6b722..9ee90bc 100755 --- a/app.py +++ b/app.py @@ -211,7 +211,7 @@ def library_item(item_id): """ try: - with open('../blob.dokk.org/pdf_to_text/' + item_id + '.txt', 'r') as file: + with open(f'../library_txt/{item_id}.txt', 'r') as file: item_plaintext = file.read() except: item_plaintext = ''