|
|
@ -65,7 +65,7 @@ def users(what):
|
|
|
|
subprocess.call("/home/pi/ELAB-RFID-I2C/RPi/i2c_challenge 0x20", shell=True)
|
|
|
|
subprocess.call("/home/pi/ELAB-RFID-I2C/RPi/i2c_challenge 0x20", shell=True)
|
|
|
|
elif what == "tools":
|
|
|
|
elif what == "tools":
|
|
|
|
subprocess.call("/home/pi/ELAB-RFID-I2C/RPi/i2c_challenge 0x30", shell=True)
|
|
|
|
subprocess.call("/home/pi/ELAB-RFID-I2C/RPi/i2c_challenge 0x30", shell=True)
|
|
|
|
print 'opened', what
|
|
|
|
print('opened', what)
|
|
|
|
return redirect(url_for('status'))
|
|
|
|
return redirect(url_for('status'))
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/gethistory')
|
|
|
|
@app.route('/gethistory')
|
|
|
|