From 8993445271f237fd2400d5b6669f725b5fd8c440 Mon Sep 17 00:00:00 2001
From: Bikramjit Singh <bikramjit@live.ca>
Date: Fri, 18 Dec 2020 17:41:56 -0500
Subject: [PATCH] Update metricsroutes.py

---
 metricsroutes.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/metricsroutes.py b/metricsroutes.py
index ff2e7e6..6096f62 100755
--- a/metricsroutes.py
+++ b/metricsroutes.py
@@ -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()