primordial setting of the oldset function
This commit is contained in:
parent
3fb786f41d
commit
f40b1a1af0
@ -58,12 +58,13 @@ class LinkedInJobManager:
|
||||
"""
|
||||
self.set_old_answers = {}
|
||||
file_path = 'data_folder/output/old_Questions.csv'
|
||||
with open(file_path, 'r', newline='', encoding='utf-8', errors='ignore') as file:
|
||||
csv_reader = csv.reader(file, delimiter=',', quotechar='"')
|
||||
for row in csv_reader:
|
||||
if len(row) == 3:
|
||||
answer_type, question_text, answer = row
|
||||
self.set_old_answers[(answer_type.lower(), question_text.lower())] = answer
|
||||
if os.path.exists(file_path):
|
||||
with open(file_path, 'r', newline='', encoding='utf-8', errors='ignore') as file:
|
||||
csv_reader = csv.reader(file, delimiter=',', quotechar='"')
|
||||
for row in csv_reader:
|
||||
if len(row) == 3:
|
||||
answer_type, question_text, answer = row
|
||||
self.set_old_answers[(answer_type.lower(), question_text.lower())] = answer
|
||||
|
||||
|
||||
def start_applying(self):
|
||||
|
@ -151,6 +151,8 @@ For detailed information on each component and their respective roles, please re
|
||||
|
||||
- [feder-cr](https://github.com/your-github-profile) - Creator and Maintainer
|
||||
|
||||
LinkedIn_AIHawk is still in beta, and your feedback, suggestions, and contributions are highly valued. Feel free to open issues, suggest enhancements, or submit pull requests to help improve the project. Let's work together to make LinkedIn_AIHawk an even more powerful tool for job seekers worldwide.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
|
Loading…
Reference in New Issue
Block a user