Skip to content

Commit 2dc8dbf

Browse files
committed
another none
1 parent 8e9bea6 commit 2dc8dbf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,10 @@ def get_page(page: int) -> Tuple[int, List[Dict[str, Any]]]:
384384
is_minor = None # unknown whether user is a minor
385385
fobs: List[str] = []
386386
for fieldname in NEON_FIELD_NAMES_FOB:
387-
for tmp in result.get(fieldname, ""):
387+
fval = result.get(fieldname, "")
388+
if not fval:
389+
continue
390+
for tmp in fval:
388391
if not tmp:
389392
continue
390393
fobs.extend([

0 commit comments

Comments
 (0)