From 617d101af2e6bce6dcdc6f4a35789aa30542f27b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 12 Aug 2022 10:20:30 -0400 Subject: [PATCH] Island: Fix string formatting in _send_analytics() --- monkey/monkey_island/cc/server_setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/server_setup.py b/monkey/monkey_island/cc/server_setup.py index c8d9985fe..418074557 100644 --- a/monkey/monkey_island/cc/server_setup.py +++ b/monkey/monkey_island/cc/server_setup.py @@ -192,10 +192,10 @@ def _send_analytics(di_container): try: response = requests.get(url).json() logger.info( - f"Version number and deployment type was sent to analytics server." - f" The response is: {response}" + f"Version number and deployment type was sent to analytics server. " + f"The response is: {response}" ) except requests.exceptions.ConnectionError as err: logger.info( - f"Failed to send deployment type and version " f"number to the analytics server: {err}" + f"Failed to send deployment type and version number to the analytics server: {err}" )