From 9545943a74b65bf83f9dddfc37699e75241bd73f Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sun, 21 Aug 2022 15:09:40 +0200 Subject: [PATCH] Fix Packet.__radd__() --- rcon/source/proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcon/source/proto.py b/rcon/source/proto.py index 5c63284..4d88283 100644 --- a/rcon/source/proto.py +++ b/rcon/source/proto.py @@ -99,7 +99,7 @@ class Packet(NamedTuple): ) def __radd__(self, other: Packet): - return other.__add__(self) + return self.__add__(other) def __bytes__(self): """Return the packet as bytes with prepended length."""