fixxed typo

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:08:45 +02:00
parent 186eed295b
commit a58565324c
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
import time
import os
from datetime import datetime
from requests import request
try:
from rpi_ws281x import *
import RPi.GPIO as GPIO
@ -115,7 +117,7 @@ if __name__ == '__main__':
@app.route('/mode', methods=['GET'])
def mode():
args = request.args
args = request.args()
mode = args.get('mode')
r = args.get('r')
g = args.get('g')