aboutsummaryrefslogtreecommitdiffstats
path: root/Web/PI/PI.py
diff options
context:
space:
mode:
authorDat Nguyen <nguy2854@umn.edu>2019-11-21 15:41:40 -0600
committerDat Nguyen <nguy2854@umn.edu>2019-11-21 15:41:40 -0600
commit6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e (patch)
tree7d48cfea55ff53c4433f2416a3610cd0e0d98f2a /Web/PI/PI.py
parentUpdate Server.py (diff)
downloadee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar.gz
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar.bz2
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar.lz
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar.xz
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.tar.zst
ee4511w-6e4a89f2fa5adb3137b4f9abdfddc2d6301b936e.zip
changed to .csv
Diffstat (limited to '')
-rw-r--r--Web/PI/PI.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Web/PI/PI.py b/Web/PI/PI.py
index b607f76..a6a597b 100644
--- a/Web/PI/PI.py
+++ b/Web/PI/PI.py
@@ -29,7 +29,7 @@ def my_test_endpoint():
# Get results file
results_filename = filename.split(".")[0]
- results_filename = results_filename + "_results"
+ results_filename = results_filename + "_results.csv"
with open(RESULTS_DESTINATION + results_filename, 'r') as results:
results_content = results.read()
results.close()
@@ -44,3 +44,5 @@ def my_test_endpoint():
if __name__ == '__main__':
app.run(host="localhost", port=8000)
+ # UNCOMMENT IF RUNNING PI.PI ON PI
+ #app.run(host="192.168.1.10", port=8000)