mirror of https://github.com/Bunsly/JobSpy
changed to 1
parent
aa1481539a
commit
fe322d1519
|
@ -165,8 +165,7 @@ class Country(Enum):
|
||||||
return country
|
return country
|
||||||
valid_countries = [country.value for country in cls]
|
valid_countries = [country.value for country in cls]
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Invalid country string: '{country_str}'. Valid countries are: {
|
f"Invalid country string: '{country_str}'. Valid countries are: {', '.join([country[0] for country in valid_countries])}"
|
||||||
', '.join([country[0] for country in valid_countries])}"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
|
|
Loading…
Reference in New Issue