fixed unicode bs

This commit is contained in:
Hellow 2023-04-06 17:54:16 +02:00
parent 7912a8bd4f
commit e6277af091

View File

@ -47,7 +47,8 @@ def print_cute_message():
try: try:
print(message) print(message)
except UnicodeEncodeError: except UnicodeEncodeError:
print(str(c for c in message if 0 < ord(c) < 127)) message = str(c for c in message if 0 < ord(c) < 127)
print(message)
def cli(genre: str = None, download_all: bool = False): def cli(genre: str = None, download_all: bool = False):