Closed bdraco closed 1 month ago
The recent changes streamline the SSL verification logic in the _websocket_inner_loop
method of the websocket.py
file. By directly utilizing the self.verify
attribute, the code improves readability without altering the underlying functionality. This adjustment clarifies the connection process while retaining existing error handling mechanisms.
Files | Change Summary |
---|---|
src/uiprotect/websocket.py |
Simplified SSL verification logic in _websocket_inner_loop method by directly using self.verify instead of a conditional assignment. |
🐇 In the code where bunnies roam,
A tweak was made to call it home.
With SSL now clean and bright,
Our webs connect with pure delight!
Hops of joy in every line,
Simplified, our paths align! ✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
src/uiprotect/websocket.py | 79.56% <ø> (-0.15%) |
:arrow_down: |
aiohttp used to want
None
orFalse
here but more recent versions wantTrue
orFalse
Summary by CodeRabbit
Improved Functionality
Bug Fixes