forgot to add return

This commit is contained in:
Shay Nehmad 2019-10-03 18:36:51 +03:00
parent 46868e9996
commit 30f59c4f2b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class CommunicateAsNewUser(PBA):
@staticmethod
def get_commandline_for_ping(domain=PING_TEST_DOMAIN, is_windows=is_windows_os()):
format_string = "PING.exe {domain} -n 1" if is_windows else "ping -c 1 {domain}"
format_string.format(domain=domain)
return format_string.format(domain=domain)
def send_ping_result_telemetry(self, exit_status, commandline, username):
"""