Skip to content

Commit

Permalink
Update metricsroutes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bikramj authored Dec 18, 2020
1 parent 7b06786 commit 8993445
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions metricsroutes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def get_reports_list():
@app.route('/api/metrics/report', methods=['GET'])
def get_report_by_date():
"""Download a file."""
# archive_dir = config.read('excel').get('archive_dir')
archive_dir = 'output'
archive_dir = config.read('excel').get('archive_dir')
metricsdate = request.args.get('date')
if not metricsdate:
metricsdate = get_latest_metrics_folder()
Expand Down

0 comments on commit 8993445

Please sign in to comment.