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

player.pause() --> Type Error: 'bool' object is not callable #199

Open
himijendrix24 opened this issue Feb 11, 2020 · 2 comments
Open

player.pause() --> Type Error: 'bool' object is not callable #199

himijendrix24 opened this issue Feb 11, 2020 · 2 comments

Comments

@himijendrix24
Copy link

There seems to be a problem with the pause function (line 524) which also makes the load function (line 228) not working with the pause argument.
So somewehere the classses pause() function gets replaced by a boolean, but I can't find the problem in the code.

@himijendrix24
Copy link
Author

I think calling self.load(source, pause=pause) in line 154 should be self.load(source, pause)

@matthijskooijman
Copy link
Contributor

I think calling self.load(source, pause=pause) in line 154 should be self.load(source, pause)

I don't think that would solve things, they would (with the current load method) be essentially be identical (pause=pause indicates to put the pause variable from the constructor and and assign it to the pause parameter of the load method, which also happens when you just pass it as the second argument).

Do you have a full backtrace of your exception?

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