msg: fix typo

This commit is contained in:
Quentin De Coninck 2017-02-27 09:19:45 +01:00
parent ac1b62459c
commit 0da979c2b5
2 changed files with 4 additions and 4 deletions

View File

@ -45,15 +45,15 @@ class MpExperienceMsg(MpExperience):
MpExperienceMsg.SERVER_LOG)
def getMsgServerCmd(self):
s = "python3 " + os.path.dirname(os.path.abspath(__file__)) + \
s = "python " + os.path.dirname(os.path.abspath(__file__)) + \
"/msg_server.py --sleep " + self.server_sleep + " &>" + MpExperienceMsg.SERVER_LOG + "&"
print(s)
return s
def getMsgClientCmd(self):
s = "python3 " + os.path.dirname(os.path.abspath(__file__)) + \
s = "python " + os.path.dirname(os.path.abspath(__file__)) + \
"/msg_client.py --sleep " + self.client_sleep + " --nb " + self.nb_requests + \
" >" + MpExperienceMsg.CLIENT_LOG + " 2>" + MpExperienceSiriMsg.CLIENT_ERR + "&"
" >" + MpExperienceMsg.CLIENT_LOG + " 2>" + MpExperienceMsg.CLIENT_ERR
print(s)
return s

View File

@ -69,4 +69,4 @@ finally:
print("Closing connection")
sock.close()
for delay in delays:
print(delay)
print(delay.total_seconds())