The readme suggests that Pushbullet.get_pushes() returns a list of pushes. This is not true, however. It actually returns a two-length tuple, in which the first element is True and the second is the list of pushes.
Eg. the function currently returns:
>>>pb.get_pushes()
(True, [push0, push1, push2])
Instead of:
>>>pb.get_pushes()
[push0, push1, push2]
Simply updating the readme to reflect this (or changing the behavior of the function) would fix this. Some documentation of what the True means would be nice, too.
The readme suggests that
Pushbullet.get_pushes()
returns a list of pushes. This is not true, however. It actually returns a two-length tuple, in which the first element isTrue
and the second is the list of pushes.Eg. the function currently returns:
Instead of:
Simply updating the readme to reflect this (or changing the behavior of the function) would fix this. Some documentation of what the
True
means would be nice, too.