Small fix
This commit is contained in:
parent
f392757bb7
commit
51d99455ea
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue