Automated-Resume-Screening-System
Automated-Resume-Screening-System copied to clipboard
file not found './Job_Descriptions', also not after adding new job description in the folder
When trying to run the 'screen' function, it gives the error that it cannot locate the file. This is probably because the os.chdir redirecting it to the wrong folder (./Job_Descriptions when it is still in Original_Resumes). Even after resetting the os.chdir to '../', errors keep coming in. Please help.
Same I am facing the same issue.
I have created a PR, pretty bad tho. I'll debug this when I get time. Apologizes!
Change line 124 in screen.py to -
f = open(os.getcwd() + jobfile[17:] , 'r', encoding="utf8", errors='ignore')
That should work!
It's actually:
f = open(os.getcwd() + '/../Job_Description' + jobfile[17:] , 'r', encoding="utf8", errors='ignore')