-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Getting error after inherit in latest package(version-6.0.3) #198
Comments
you have not given enough code, i can't reproduce with what you have provided. |
@isaackogan, here is my full code
|
Okay, so basically for the pattern you are trying to accomplish you should use It's a little complicated why it doesn't work...I guess technically speaking it is a bug, but it was never intended to be used the way you did, so not sure if I should call it that. I can support it being used functionally like that in the future, but for now, use the intended |
So, in this file TikTokLive/client/client.py code update in function add_listener
And this change works for me, could you please update this change in you package? |
Okay, Thank you, used add_listener and solved this issue. |
Going to keep this open until I add the 'fix' for the way you were trying to do it. I think your solution is fine, can you make a pull request? |
Thank you for your compliment, Pull request is here -pull-request |
Merged |
We can import TikTokLiveClient and inherit of this class in our own class like as
After the in this so, we are getting error on the Connect event, error snapshot is given below-
Package Version
My version of TikTokLive is 6.0.3
Operating System
Linux
The text was updated successfully, but these errors were encountered: