|
|
@ -44,5 +44,5 @@ async def rcon( |
|
|
|
try: |
|
|
|
return response.payload.decode(encoding) |
|
|
|
except UnicodeDecodeError: |
|
|
|
print(f"[{host}:{port}] Cannot decode response payload, use ignore encoding") |
|
|
|
#print(f"[{host}:{port}] Cannot decode response payload, use ignore encoding") |
|
|
|
return response.payload.decode(encoding, errors="ignore") |