Closed michaelarnauts closed 8 years ago
Hi @michaelarnauts, can you please add/fix tests for your change?
I'm not sure if it's okay that I changed the body
to body=body
, but since the declaration of push_file
is also a dict, I think this is the best way?
Also, I'm not really into python development, so I hope this change makes sense :)
I still get an error AttributeError: 'str' object has no attribute 'decode'
, but that seems to be unrelated to my change and is already present in master.
I will fix AttributeError soon.
Should be all green now.
Yes, I fixed the attribute error. What about your tests?
You not need to write body=body but when you write only title=tile is important. So when you skip an optional arg.
Looks good! Thank you! :)
52 added the title parameter to
pushbullet.py
, but the channel and device objects didn't have this parameter insend_file
.