Fix duplicate get request breaking await

This commit is contained in:
Matthew Stratford 2021-09-01 23:50:12 +01:00
parent d3df33ecf0
commit 127d995399

View file

@ -44,7 +44,6 @@ class MyRadioAPI:
func = session.get(url)
status_code = -1
if method == "GET":
func = session.get(url)
status_code = 200
elif method == "POST":
func = session.post(url, data=data)