From 3a2e47f7b6171bea9328472c53c5160b2daf9def Mon Sep 17 00:00:00 2001 From: Yariv Menachem Date: Tue, 31 Dec 2024 16:11:50 +0200 Subject: [PATCH] fixed location empty on goozali --- src/jobspy/jobs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobspy/jobs/__init__.py b/src/jobspy/jobs/__init__.py index 9d87ed3..5ca89ac 100644 --- a/src/jobspy/jobs/__init__.py +++ b/src/jobspy/jobs/__init__.py @@ -207,7 +207,7 @@ class Location(BaseModel): else: location_parts.append(country_name.title()) - if (len(location_parts) == 0 and len(self.text) > 0): + if len(location_parts) == 0 and len(self.text) > 0: return self.text return ", ".join(location_parts)