richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Fixed compatibility with websocket-client callbacks [see #173] #174

Closed blacklight closed 3 years ago

blacklight commented 3 years ago

The websocket-client callbacks, as of 0.58 (https://github.com/rbrcsk/pushbullet.py/commit/01c791c13748aca9f55c1c3d51ed635f0a0f3fd4), require the websocket application object as first argument. Since things are the other way around for websocket-client >= 0.53.0, and yet the other way around on previous versions, this commit is supposed to stop the madness around websocket-client callbacks with a dynamic list of arguments.