diff options
Diffstat (limited to 'Web/PI')
-rw-r--r-- | Web/PI/PI.py | 4 |
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) |