This commit is contained in:
Dhruv Venkataraman 2022-10-02 23:54:22 -04:00
parent a13bd4a810
commit fa12be0d76

View file

@ -21,7 +21,7 @@ def activate_job():
@app.route('/startfreq/<freq>')
def freq(freq):
print(freq)
thread2 = Thread(target=playFunction, args=freq)
thread2 = Thread(target=playFunction, args=(freq,))
return("200")
@app.route('/stopfreq/<freq2>')