diff --git a/setHosts_Classic.py b/setHosts_Classic.py index cb3cf95..f274f0b 100644 --- a/setHosts_Classic.py +++ b/setHosts_Classic.py @@ -122,9 +122,7 @@ def backup_hosts_file(hosts_file_path: str): backup_path = f"{hosts_file_path}.bak" shutil.copy(hosts_file_path, backup_path) rprint( - f"\n[blue]已备份 [underline]{ \ - hosts_file_path}[/underline] 到 [underline]{backup_path}[/underline][/blue]" - ) + f"\n[blue]已备份 [underline]{hosts_file_path}[/underline] 到 [underline]{backup_path}[/underline][/blue]") @staticmethod def write_readme_file(