1
0
Fork 0
mirror of https://github.com/de2tla2f/pymaster.git synced 2024-11-22 19:11:29 +00:00

Oops, a stray whitespace

This commit is contained in:
Alibek Omarov 2018-07-27 00:03:07 +03:00
parent e5c9ae4f03
commit cd29d57f41

View file

@ -129,7 +129,7 @@ class PyMaster:
self.sock.sendto(packet, addr) self.sock.sendto(packet, addr)
def fakeInfoForOldVersions(self, gamedir, addr): def fakeInfoForOldVersions(self, gamedir, addr):
def sendFakeInfo(sock, warnmsg, gamedir, addr): def sendFakeInfo(sock, warnmsg, gamedir, addr):
baseReply = "\xff\xff\xff\xffinfo\n\host\\{0}\map\\update\dm\\0\\team\\0\coop\\0\\numcl\\32\maxcl\\32\\gamedir\{1}\\" baseReply = "\xff\xff\xff\xffinfo\n\host\\{0}\map\\update\dm\\0\\team\\0\coop\\0\\numcl\\32\maxcl\\32\\gamedir\{1}\\"
reply = baseReply.format(warnmsg, gamedir) reply = baseReply.format(warnmsg, gamedir)
data = reply.encode( 'latin_1' ) data = reply.encode( 'latin_1' )