if -> elif

This commit is contained in:
Denis Kasak 2018-03-01 22:53:05 +01:00 committed by poljar
parent c18c10774e
commit 59138a9824

View file

@ -232,7 +232,7 @@ class Formatted():
elif name == "strikethrough" and value: elif name == "strikethrough" and value:
return string_strikethrough(string) return string_strikethrough(string)
if name == "quote" and value: elif name == "quote" and value:
return quote_wrapper.fill(string.replace("\n", "")) return quote_wrapper.fill(string.replace("\n", ""))
elif name == "fgcolor" and value: elif name == "fgcolor" and value: