pcwii / cpkodi-skill

updated Mycroft.AI Kodi Skill using the Common Play Framework
GNU General Public License v3.0
14 stars 6 forks source link

Removed walrus operator to support python 3.7 #39

Closed david-morris closed 3 years ago

david-morris commented 3 years ago

The := operator was added in python 3.8, and recent docker images were based on python 3.7. Therefore, python 3.7 should be supported.

This pull request removes the two walruses I added in the PVR code.

While I don't have python 3.7 available on my system, I have checked the code for regressions on my system. "open channel 5," "open channel Heart TV," "play channel 5," and "play channel Heart TV" all work on my system.

This should resolve issue #38 .