From 00b2ab1795dddd3497056695dc4e651f0903718e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rgen=20Krau=C3=9F?= Date: Thu, 11 Jul 2024 10:51:55 +0200 Subject: [PATCH] workflow added --- job-api/markdown_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job-api/markdown_converter.py b/job-api/markdown_converter.py index 887e5cd..dd6ff93 100644 --- a/job-api/markdown_converter.py +++ b/job-api/markdown_converter.py @@ -38,8 +38,8 @@ def convert_to_markdown(self, job_listings): if job['geo_country'] not in job['geo_name']: markdown_content += f", {job['geo_country']}" markdown_content += "\n" - markdown_content += f"- **Wer?** {"/".join(self.jobexperience_mappings[x] for x in eval(job['workExperiences']))}\n" - markdown_content += f"- **Wie?** {"/".join(self.job_or_trainee_mappings[x] for x in eval(job['employmentTypes']))} {"/".join(self.full_or_parttime_mappings[x] for x in eval(job['workTimes']))}\n" + markdown_content += f"- **Wer?** {'/'.join(self.jobexperience_mappings[x] for x in eval(job['workExperiences']))}\n" + markdown_content += f"- **Wie?** {'/'.join(self.job_or_trainee_mappings[x] for x in eval(job['employmentTypes']))} {'/'.join(self.full_or_parttime_mappings[x] for x in eval(job['workTimes']))}\n" markdown_content += f"- **Wie genau?** {self.translate_remote_status(job['remote_status'])}\n" summary = self.summarize_description(job['jobAdText']) markdown_content += f"- **Was? (automatisch gekürzt)** {summary} ...\n"