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: