Closed LyonsDo closed 3 years ago
hey @LyonsDo. thanks for bringing this up!
"%(my_func.parameters) "
is invalid python formatting syntax, that's why you are getting this ValueError
. Don't know how to fix this within safe_modulo
. The only thing you can do is escaping it yourself with "%%(my_func.parameters) "
. Or what would you suggest?
That seems to work fine. Thanks.
Thanks @Chilipp.
Apologies if this isn't the right forum for this.
If I do
%(my_func.parameters)s
% meta it's fine, but the bare%(my_func.parameters)
givesI'm just not sure what's happening and if there's something I should change in my code. For example escaping literal % characters.