Skip to content

Fixes & enhancements: fix deprecation warning on Python versions newer than v3.6 & support breaking of loop with CTRL-C with no exceptions #10

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Abdallah-Abdelazim
Copy link

@Abdallah-Abdelazim Abdallah-Abdelazim commented Jun 22, 2022

Each commit in this PR describes a change I made. The changes I made are:

  • Add python shebang line to allow easy running from a terminal with ./main.py [output_file] instead of python3 main.py [output_file].
  • Add execute permission to main.py.
  • Fix deprecation warning DeprecationWarning: There is no current event loop on Python versions newer than v3.6.
  • Support breaking out of the loop with CTRL-C with no exceptions as it previously was printing an ugly exception to the terminal.
  • Update README.md to add a note on how to install bleak package to help people with no Python experience.

@manister7
Copy link

Could we use this repo for python > 3.6 now???

@mrsteve0924
Copy link

nobody actively working on merging commits?

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.

4 participants