Small fix

This commit is contained in:
Zeva Rose 2022-02-21 02:57:00 -07:00
parent f392757bb7
commit 51d99455ea

View file

@ -67,7 +67,7 @@ def fmt(*formats: List[Format | Fore | Back] | int) -> str:
back = f"{f};"
ret = fmt + fore + back
if not any(ret, fore, back):
if not any([ret, fore, back]):
ret = RESET
if ret[-1] == ";":
ret = ret[:-1]