Switch subprocess bullet in GUI too

This commit is contained in:
Micah Lee 2021-06-17 11:22:41 -07:00
parent 9c645beaef
commit 77ac8e7d54

View file

@ -19,9 +19,9 @@ class TaskBase(QtCore.QThread):
for line in p.stdout: for line in p.stdout:
output += line.decode() output += line.decode()
if line.startswith(b"\xe2\x80\xa3 "): if line.startswith(b"\xc2\xbb "):
print( print(
Fore.WHITE + "\u2023 " + Fore.LIGHTCYAN_EX + line.decode()[2:], Fore.YELLOW + "\xbb " + Fore.LIGHTCYAN_EX + line.decode()[2:],
end="", end="",
) )
else: else: