From 9f8ed95623a50c439f08424595f9175a36c1d3d2 Mon Sep 17 00:00:00 2001 From: rav4s Date: Tue, 2 Feb 2021 17:01:46 -0600 Subject: [PATCH] remove hardcoded paths --- Web_Dashboard/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Web_Dashboard/app.py b/Web_Dashboard/app.py index 188ad91..8594bb8 100644 --- a/Web_Dashboard/app.py +++ b/Web_Dashboard/app.py @@ -3,9 +3,9 @@ import csv from flask import Flask, make_response, request, render_template, redirect, url_for, send_from_directory #Import flask web server and additional components app = Flask(__name__) -smartphone_file = "/home/ravi/Documents/Git/iFixit-Repairability-Dashboard/smartphone.csv" -tablet_file = "/home/ravi/Documents/Git/iFixit-Repairability-Dashboard/tablet.csv" -laptop_file = "/home/ravi/Documents/Git/iFixit-Repairability-Dashboard/laptop.csv" +smartphone_file = "../smartphone.csv" +tablet_file = "../tablet.csv" +laptop_file = "../laptop.csv" @app.route('/') def index():