mqtt-tools/mqttwarn

Templates can only be loaded from `templates/` folder in working directory?

Open

#596 aperta il 22 set 2022

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (184 fork)batch import
help wantedquestion

Metriche repository

Star
 (930 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi there,

we are apparently not using that feature too much, that is why we are asking the community about it.

Is it possible that mqttwarn can only load templates from the templates/ folder in current working directory? According to the implementation, it looks like it is - please correct me if I'm wrong.

https://github.com/jpmens/mqttwarn/blob/b8e61e224b3d6cbad6605870d6e518be7f815133/mqttwarn/core.py#L37-L45

Do you think it should be improved?

With kind regards, Andreas.

Guida contributor