-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reporter: Prowl App #633
Conversation
Prowl is a simple iOS push notification service that grew out of the desire to forward MacOS 'Growl' notifications to iOS. It has a simple web API that can be used to create arbitrary push notifications to be sent to a user's device.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
When building a command argument list for subprocess.Popen(), add options that require an argument as separate list elements. This results in a list like this: 2021-02-05 12:33:37,880 html2txt DEBUG: Command: ['html2text', '-nobs', '-utf8', '-width', '132'], stdout encoding: utf-8 instead of: 2021-02-05 12:33:37,880 html2txt DEBUG: Command: ['html2text', '-nobs', '-utf8', '-width 132'], stdout encoding: utf-8 which produces a CLI options parsing error because there is no option called '-width 132'.
Fantastic feedback! (also I'm a bit new to Python, is there an easy way to run a PEP-8 (and other PEP) checkers locally?) Okay! All those changes made, except the UTF-8 one, as I just wanted to confirm with you before I did: What I read in the requests docs, it says it converts all the keys to UTF-8, and that values should avoid passing unicode, which makes it seem possible? The prowl api does does specify UTF-8. The requests docs also mentions that all values should be strings, so should I be stringifying What do you think? Or I guess rather: what would you prefer :) Thanks for the feedback and super expedant review! |
Merged, thanks! |
Prowl is a web-based push notification platform not unlike Pushover or Pushbullet.
I added it as it's the one I personally use, and thought perhaps someone else out there might get use from it too.