AirStatus icon indicating copy to clipboard operation
AirStatus copied to clipboard

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

Open Abdallah-Abdelazim opened this issue 2 years ago • 2 comments

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.

Abdallah-Abdelazim avatar Jun 22 '22 19:06 Abdallah-Abdelazim

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

manister7 avatar Sep 25 '22 07:09 manister7

nobody actively working on merging commits?

mrsteve0924 avatar Feb 05 '23 02:02 mrsteve0924