Closed mhaeberli closed 6 years ago
Thanks! I agree that it would be useful to have an optional "expire" argument to the command line interface. I will gladly accept a pull request for this, if you submit one. Otherwise, I might have time to work on it a bit later (maybe towards the end of next week).
Post Script : - one thought I had was, IF priority == 2, THEN set a default expire, say, to 120, unless expire already passed in as a value on command line.
On Sun, Aug 27, 2017 at 6:59 AM, Thibaut Horel notifications@github.com wrote:
Thanks! I agree that it would be useful to have an optional "expire" argument to the command line interface. I will gladly accept a pull request for this, if you submit one. Otherwise, I might have time to work on it a bit later (maybe towards the end of next week).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Thibauth/python-pushover/issues/20#issuecomment-325200094, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh_NuVi-7egAdbTYEEDBPLPkC06gfxFks5scXZQgaJpZM4PDs-A .
mhaeberli , I sent in a pull request for this. It appears you also need retries set as well.
thx
On Thu, Dec 28, 2017 at 5:58 PM, copart notifications@github.com wrote:
mhaeberli , I sent in a pull request for this. It appears you also need retries set as well.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Thibauth/python-pushover/issues/20#issuecomment-354386691, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh_NnRh21pAQUoJtgGIkBpdFTGOBZ66ks5tFEdHgaJpZM4PDs-A .
Sorry for the long delay! This was solved nicely by @copart's pull request #22 and will be included in the next release. If you want to update your local version with this fix, you should run something like:
pip install --upgrade git+https://github.com/Thibauth/python-pushover
Thanks for the pushover python etc interface!
Since priority can be set to 2, where expire value must be set (according to error message), it would be good to add an expire argument to the command line interface.
I may make an attempt at this and subbmit a pull request ...