Skip to content

Commit 25fba3f

Browse files
sgratzlkrivard
andauthored
Apply suggestions from code review
Co-authored-by: Katie Mazaitis <[email protected]>
1 parent eaf016d commit 25fba3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/endpoints/covidcast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def handle_export():
380380
if geo_values != "*":
381381
geo_values = geo_values.split(",")
382382

383-
as_of, is_as_of_day = parse_day_or_week_arg('as_of') if 'as_of' in request.args else None, is_day
383+
as_of, is_as_of_day = parse_day_or_week_arg('as_of') if 'as_of' in request.args else (None, is_day)
384384
if is_day != is_as_of_day:
385385
raise ValidationFailedException("mixing weeks with day arguments")
386386

0 commit comments

Comments
 (0)