Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Use self.loop.create_task #6

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

Closed
wants to merge 1 commit into from
Closed

Use self.loop.create_task #6

wants to merge 1 commit into from

Conversation

NissesSenap
Copy link

Fixes #5
Creating a class and make the eventloop avliable with self.
Call it in the get_title_range function.

Creating a class and make the eventloop avliable with self.
Call it in the get_title_range function.
@mikeckennedy
Copy link
Member

Hi. I appreciate this PR. But it's too much of a change from the original code typed during the video. If you want to make the loop accessible because it's needed per #5 (I think this may be an older version of Python you have?) just make the loop a global variable. I'd be willing to accept that as a PR.

@NissesSenap
Copy link
Author

Haha for some reason i didn't think of a global variabel :)

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

Successfully merging this pull request may close these issues.

2 participants