You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your work on pyHIDS it has inspired me.
While looking at your code (and using it) I noticed that this try block will never raise an exception as the config.read() method silently fails (by design) and returns an empty list.
I've noticed a few similar issues around the config file, I'm writing a PR (or PRs) if you're happy with that :)
The text was updated successfully, but these errors were encountered:
Indeed, it's partly intentional (and perhaps a touch of laziness on my part). I opted to let the user create their own config file using the provided example. However, I acknowledge that there's room for enhancement in this aspect. Clearly !
Therefore, I'm fully supportive of a pull request to address these improvements. :-)
I close the ticket with this little change. But if you have other improvements concerning the loading of the configuration file, feel free to open a pull request.
Thanks for your work on pyHIDS it has inspired me.
While looking at your code (and using it) I noticed that this try block will never raise an exception as the config.read() method silently fails (by design) and returns an empty list.
I've noticed a few similar issues around the config file, I'm writing a PR (or PRs) if you're happy with that :)
The text was updated successfully, but these errors were encountered: