Skip to content

Commit 9aee6df

Browse files
Fixed small bug
1 parent 597394a commit 9aee6df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hermes_toml/harvest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def handle_person_in_unknown_format(cls, persons):
186186
#try to parse the string
187187
try:
188188
[(name, email)] = getaddresses([person])
189-
return cls.remove_forbidden_keys({"name":name, "email":email})
189+
return_list.append(cls.remove_forbidden_keys({"name":name, "email":email}))
190190
except ValueError:
191191
raise ValueError("Wrong string format for name (and email).")
192192

0 commit comments

Comments
 (0)