home » zplus/dokk.org.git
Author zPlus <zplus@peers.community> 2023-11-26 09:17:48
Committer zPlus <zplus@peers.community> 2023-11-26 09:17:48
Commit 39dd63b (patch)
Tree b42a2d8
Parent(s)

Change location of library txt files.


commits diff: a2024a5..39dd63b
1 file changed, 1 insertion, 1 deletiondownload


Diffstat
-rwxr-xr-x app.py 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+1/-1 M   app.py
index 9f6b722..9ee90bc
old size: 12K - new size: 12K
@@ -211,7 +211,7 @@ def library_item(item_id):
211 211 """
212 212
213 213 try:
214 - with open('../blob.dokk.org/pdf_to_text/' + item_id + '.txt', 'r') as file:
214 + with open(f'../library_txt/{item_id}.txt', 'r') as file:
215 215 item_plaintext = file.read()
216 216 except:
217 217 item_plaintext = ''