Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch() returning exception #14

Closed
shenning00 opened this issue Jan 23, 2017 · 1 comment
Closed

launch() returning exception #14

shenning00 opened this issue Jan 23, 2017 · 1 comment

Comments

@shenning00
Copy link

Looks like the Roku is returning a 204 when being requested to launch an app it is already running.

      if resp.status_code != 200:
            raise RokuException(resp.content)

should read:

        if resp.status_code not in [200, 204]:
            raise RokuException(resp.content)
@iantrich
Copy link
Collaborator

fixed in #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants