Skip to content

Commit 7d012c4

Browse files
fix: computing location on profile
1 parent bfeb6cb commit 7d012c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hrflow/utils/evaluation/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def from_profile(profile: t.Dict[str, t.Any]) -> "InfoEvaluation":
8686
last_name = 1 if info.get("last_name") else 0
8787
phone = 1 if info.get("phone") else 0
8888
email = 1 if info.get("email") else 0
89-
location = 1 if info.get("location") else 0
89+
location = 1 if info.get("location", {}).get("text") else 0
9090
summary = 1 if info.get("summary") else 0
9191
driving_license = 1 if info.get("driving_license") else 0
9292
full_name = 1 if info.get("full_name") else 0

0 commit comments

Comments
 (0)