mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 22:15:57 -05:00
Fix log colors so it isn't black on black in macOS
This commit is contained in:
parent
21b4ae06f0
commit
6325662b9c
@ -291,7 +291,7 @@ class Common:
|
|||||||
"""
|
"""
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
timestamp = time.strftime("%b %d %Y %X")
|
timestamp = time.strftime("%b %d %Y %X")
|
||||||
final_msg = f"{Fore.BLACK + Style.BRIGHT}[{timestamp}]{Style.RESET_ALL} {Fore.WHITE + Style.DIM}{module}.{func}{Style.RESET_ALL}"
|
final_msg = f"{Fore.LIGHTBLACK_EX + Style.DIM}[{timestamp}]{Style.RESET_ALL} {Fore.WHITE + Style.DIM}{module}.{func}{Style.RESET_ALL}"
|
||||||
if msg:
|
if msg:
|
||||||
final_msg = (
|
final_msg = (
|
||||||
f"{final_msg}{Fore.WHITE + Style.DIM}: {msg}{Style.RESET_ALL}"
|
f"{final_msg}{Fore.WHITE + Style.DIM}: {msg}{Style.RESET_ALL}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user