Closed shenning00 closed 7 years ago
Roku will respond with a 204 if launch() is called to launch an app that is already running.
if resp.status_code != 200: raise RokuException(resp.content)
The status 200 and 204 need to be checked before an exception is thrown.
The code should read:
if resp.status_code not in [200, 204]: raise RokuException(resp.content)
Roku will respond with a 204 if launch() is called to launch an app that is already running.
The status 200 and 204 need to be checked before an exception is thrown.
The code should read: