Fix duplicate get request breaking await
This commit is contained in:
parent
d3df33ecf0
commit
127d995399
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue