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)