shorter user agent

This commit is contained in:
headshot2017 2022-03-27 21:16:56 -04:00
parent a2ad80303d
commit 53a1e97f99

View File

@ -61,7 +61,7 @@ class AOwebSocket(object):
self.sock = websocket.WebSocket()
self.isWS = True
self.header = {
"User-Agent": "AO2XP %s, Python %s, %s %s %s %s %s" % (GAME_VERSION, platform.python_version(), platform.system(), platform.release(), platform.version(), platform.machine(), platform.processor())
"User-Agent": "AO2XP %s, Python %s, %s %s %s" % (GAME_VERSION, platform.python_version(), platform.system(), platform.release(), platform.machine())
}
def connect(self, ip, port):