Page 1 of 1

Add custom filter to parser

Posted: Thu Oct 28, 2021 7:10 am
by CFX
Good day

How I could add some custom filter to mark my task as 'error' or 'warning' ?
I found child class from the class parser, but after adding any custom strings to str_error or str_badresult lists nothing changed

Re: Add custom filter to parser

Posted: Thu Oct 28, 2021 2:01 pm
by timurhai
Hi!
You can look at some existing parser, for example:
https://github.com/CGRU/cgru/blob/maste ... /mantra.py
And create your own.