Doesn't work if the message begins with square bracket ("[")
bbbbbbbbba opened this issue · 4 comments
bbbbbbbbba commented
Notifier.notify('[')
fails silently. Notifier.notify('.[')
works correctly.
maxkrivich commented
@bbbbbbbbba looks like it's problem with terminal-notifier
. I think you should create issues here
https://github.com/julienXX/terminal-notifier/issues
maxkrivich commented
@bbbbbbbbba use escape character to fix this problem.
>>> import pync
>>> pync.notify('\[')
bbbbbbbbba commented
I don't think the package should let the user do the escaping, unless the unescaped bracket has a useful and documented function. Is that the case here?
maxkrivich commented
@bbbbbbbbba it's simple wrapper without extra logic, but you're right about that. Can you make PR for this?