change print

This commit is contained in:
Bruno Rybársky 2022-01-18 14:44:47 +01:00
parent 1df035f033
commit f010b60462

@ -9,6 +9,6 @@ pid = os.getpid()
#write pid to file /tmp/battleship_server.pid #write pid to file /tmp/battleship_server.pid
with open('/tmp/battleship_server.pid', 'w') as f: with open('/tmp/battleship_server.pid', 'w') as f:
f.write(str(pid)) f.write(str(pid))
print('Hello my(battleship_server) pid is ' + str(pid)) print('Hello my(i am battleship server) pid is ' + str(pid))
while True: while True:
time.sleep(2) time.sleep(2)