We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf016d commit 25fba3fCopy full SHA for 25fba3f
src/server/endpoints/covidcast.py
@@ -380,7 +380,7 @@ def handle_export():
380
if geo_values != "*":
381
geo_values = geo_values.split(",")
382
383
- as_of, is_as_of_day = parse_day_or_week_arg('as_of') if 'as_of' in request.args else None, is_day
+ as_of, is_as_of_day = parse_day_or_week_arg('as_of') if 'as_of' in request.args else (None, is_day)
384
if is_day != is_as_of_day:
385
raise ValidationFailedException("mixing weeks with day arguments")
386
0 commit comments