Skip to content

Commit 20c570c

Browse files
committed
2 parents 6ba48f7 + 1e7baba commit 20c570c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paramgenerator/readfactors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def load(factorFiles, friendFiles):
7474
if not results.existParam(person):
7575
results.addNewParam(person)
7676
name = line[1]
77-
givenNames.setValue(person, name)
77+
if name != "null":
78+
givenNames.setValue(person, name)
7879
results.addValue(person, "f", int(line[2]))
7980
results.addValue(person, "p", int(line[3]))
8081
results.addValue(person, "pl", int(line[4]))

0 commit comments

Comments
 (0)