Closed troglodyne closed 3 years ago
Yes, @troglodyne you found a bug. Excellent. In these cases Yaml returns a boolean data type and not a string. That was the problem. And thank you very much twice. Thank you once for finding it, and thank you a second time for fixing it. Lovely! It is appreciated!
But I have a question regarding the fix.
Why not use
return self.command_dict["commands"][command]["markdown_convert"]
instead of your suggested
return not not self.command_dict["commands"][command]["markdown_convert"]
.
I cannot see any reason why
return self.command_dict["commands"][command]["markdown_convert"]
would not be better. Is there anything I am missing.
:+1: again @troglodyne
Let's quickly clarify this and get it fixed.
If you agree with me that
return self.command_dict["commands"][command]["markdown_convert"]
(etc.)
is better, please change/update your Pull Request so that you take the credit for fixing the bug.
Cheers and :+1:
See also issue #16
@troglodyne thank you for the PR and fix. As a team we can drive this project forward. Every contributions is highly appreciated. Thanks, :heart: and :+1:
Config parser bug, thankfully fairly simple fix once tracked down :)