Skip to content

Commit

Permalink
ensure that "forms_using_endtime" is in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Chatterjee committed Dec 4, 2023
1 parent 62f5139 commit 39170a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
streams = []
for form_dict in key_list:
if form_dict["has_deployment"]:
if form_dict["name"] in config["forms_using_endtime"]:
if "forms_using_endtime" in config and form_dict["name"] in config["forms_using_endtime"]:
stream = KoboStreamEndTime(
config=config,
form_id=form_dict["uid"],
Expand Down

0 comments on commit 39170a0

Please sign in to comment.