Oopsie
This commit is contained in:
+3
-3
@@ -1,6 +1,8 @@
|
||||
from flask import Flask, json, request
|
||||
import os
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/brightness',methods = ['POST'])
|
||||
def brightness():
|
||||
if request.method == 'POST':
|
||||
@@ -42,6 +44,4 @@ def after_request(response):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
||||
|
||||
|
||||
app.run()
|
||||
Reference in New Issue
Block a user