From 884236177bc2c860516c6244b7c60b24a1825ae0 Mon Sep 17 00:00:00 2001 From: tretrauit Date: Wed, 3 Jan 2024 06:32:22 +0700 Subject: [PATCH] fix(cli/hsr): remove redundant strings I copy-pasted lol --- vollerei/cli/hsr.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/vollerei/cli/hsr.py b/vollerei/cli/hsr.py index a04261c..58e6bbc 100644 --- a/vollerei/cli/hsr.py +++ b/vollerei/cli/hsr.py @@ -235,10 +235,7 @@ class PatchTelemetryCommand(Command): + "we need to block these hosts." ) if not self.confirm("Do you want to block them?"): - self.line("Patching aborted.") - self.line( - "Please block these hosts manually then try again." - ) + self.line("Blocking aborted.") return try: patcher.block_telemetry(telemetry_list=telemetry_list) @@ -246,13 +243,6 @@ class PatchTelemetryCommand(Command): self.line_error( f"Couldn't block telemetry hosts: {e.__context__}" ) - # There's a good reason for this. - if system() != "Windows": - self.line( - "Cannot continue, please block them manually then try again." - ) - return - self.line("Continuing anyway...") else: progress.finish("No telemetry hosts found.")