From cc597404b7b81f063b4580781916ed7178dd64da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Th=C3=A9o=20LAURET?= Date: Fri, 26 May 2023 20:12:54 +0400 Subject: [PATCH] alexAubin review --- bin/yunopaste | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/yunopaste b/bin/yunopaste index dfe3f32b9..9ed151c07 100755 --- a/bin/yunopaste +++ b/bin/yunopaste @@ -54,10 +54,9 @@ def main(): sys.exit(1) if anonymize_output_flag: - anonymized_output = anonymize_output(command_output) - url = create_snippet(anonymized_output) - else: - url = create_snippet(command_output) + output = anonymize_output(output) + + url = create_snippet(output) print("\033[32mURL: {}\033[0m".format(url))