Skip to content

Commit a0d7f33

Browse files
committed
WIP more problems
1 parent 2dc8dbf commit a0d7f33

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

main.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,12 +387,10 @@ def get_page(page: int) -> Tuple[int, List[Dict[str, Any]]]:
387387
fval = result.get(fieldname, "")
388388
if not fval:
389389
continue
390-
for tmp in fval:
391-
if not tmp:
392-
continue
393-
fobs.extend([
394-
x.strip() for x in tmp.split(",") if x != ""
395-
])
390+
for tmp in fval.split(","):
391+
tmp = tmp.strip()
392+
if tmp != "":
393+
fobs.append(tmp)
396394
yield User(
397395
account_id=result["Account ID"],
398396
name=result["Full Name (F)"],

0 commit comments

Comments
 (0)