We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f9349 commit 3366c85Copy full SHA for 3366c85
curtsies/formatstring.py
@@ -147,10 +147,9 @@ def color_str(self) -> str:
147
continue
148
elif v is False:
149
150
- elif v is True:
+ elif k in one_arg_xforms:
151
s = one_arg_xforms[k](s)
152
else:
153
- # TODO: What's the purpose of this code? It will never be executed.
154
s = two_arg_xforms[k](s, v)
155
return s
156
0 commit comments