dschep / dschep/ntfy

different behavior on cmd and use as library in python

Open
#160 1 comment 0 reactions 0 assignees View on GitHub
bug documentation
Dominant language
Python
Stars
5k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

There is a difference depending on running nfty inside a Python shell (call _notify.notification()_ ) and run ntfy from commandline. I think the reason is a different default config file location.
In my case, I have created a config file under _~/.ntfy.yml_ and ntfy use that config when i run it from console (it sends notification via pushover). But when i try to send a notification from a interactive Python shell, only the Linux Desktop notification works.
I can fix that behavior by creating a sym link _~/.config/ntfy.yml_ point to _~/.ntfy.yml_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.