Skip to content
Snippets Groups Projects
Commit 4723357c authored by Eck Balázs István's avatar Eck Balázs István
Browse files

Update server.py

parent c7756e43
Branches
No related tags found
1 merge request!1Update server.py
...@@ -29,7 +29,7 @@ while True: ...@@ -29,7 +29,7 @@ while True:
# print ('received "%s"' % data) # print ('received "%s"' % data)
if data: if data:
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S") timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
f = open("/tmp/ping-pog.log", "a") f = open("/tmp/ping-pong.log", "a")
f.write(timestamp +' : ' + data + '\n') f.write(timestamp +' : ' + data + '\n')
f.close() f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment