mirror of https://github.com/Bunsly/JobSpy
fixed location empty on goozali
parent
0bb64a1fc3
commit
3a2e47f7b6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue