Skip to content

Commit

Permalink
don't iterate over None
Browse files Browse the repository at this point in the history
  • Loading branch information
clementzach committed May 10, 2023
1 parent 093264a commit 758996a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forest/sycamore/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ def parse_surveys(config_path: str, answers_l: bool = False) -> pd.DataFrame:

for i, s in enumerate(surveys):
# Pull out timings
if s["content"] is None:
continue
for q in s["content"]:
if "question_id" in q.keys():
surv = {
Expand Down

0 comments on commit 758996a

Please sign in to comment.