update copyright and add a root route
This commit is contained in:
@@ -14,3 +14,7 @@ def sendData():
|
||||
response = jsonify([s.getData(), l.getData(), u.getABI()])
|
||||
response.headers.add('Access-Control-Allow-Origin', '*')
|
||||
return response
|
||||
|
||||
@app.route('/')
|
||||
def renderTable()
|
||||
return render_template('index.html')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# sensors.py - a module for interfacing to the sensors
|
||||
'''Module for interfacing with TeraHz sensors'''
|
||||
# Copyright 2019 Kristjan Komloši
|
||||
# Copyright 2019, 2020 Kristjan Komloši
|
||||
# All code in this file is licensed under the ISC license, provided in LICENSE.txt
|
||||
import serial as ser
|
||||
import pandas as pd
|
||||
|
||||
Reference in New Issue
Block a user