Fixed a typo in the startup message.
This commit is contained in:
andromeda32
2014-03-29 21:50:36 -04:00
parent f9c710af99
commit 107017c0af
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(address)
s.listen(backlog)
utils.print_log("Server is now listening on listening on %s:%s..." % (address[0], address[1]))
utils.print_log("Server is now listening on %s:%s..." % (address[0], address[1]))
while 1:
client, address = s.accept()

View File

@@ -13,7 +13,7 @@ address = ('0.0.0.0', 27900) # accessible to outside connections (use this if yo
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(address)
utils.print_log("Server is now listening on listening on %s:%s..." % (address[0], address[1]))
utils.print_log("Server is now listening on %s:%s..." % (address[0], address[1]))
while(1):
recv_data, addr = s.recvfrom(2048)