From 897c8ea61339d799744bbe53d90ae4f2388b1d11 Mon Sep 17 00:00:00 2001 From: Kishan Maladkar <33973798+kmaladkar@users.noreply.github.com> Date: Sat, 19 Jun 2021 22:43:59 -0700 Subject: [PATCH] Path issue, DIRTY FIX! Someone can make a better PR, this is really dirty! But works for now. --- screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen.py b/screen.py index 7b5c157..589ef8e 100644 --- a/screen.py +++ b/screen.py @@ -122,7 +122,7 @@ def res(jobfile): Job_Desc = 0 LIST_OF_TXT_FILES = [] os.chdir('../Job_Description') - f = open(jobfile , 'r') + f = open(os.getcwd() + jobfile[17:] , 'r', encoding="utf8", errors='ignore') text = f.read() try: