From 1d6916932b8a5741a0c2913501f63da493aed923 Mon Sep 17 00:00:00 2001 From: alemidev Date: Thu, 18 Nov 2021 03:11:59 +0100 Subject: [PATCH] dumb fix --- compiler/proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/proto.py b/compiler/proto.py index 90eafea..7cdda83 100644 --- a/compiler/proto.py +++ b/compiler/proto.py @@ -105,7 +105,7 @@ class PacketClassWriter: name=self.title, ids='{\n\t\t' + ',\n\t\t'.join(self.ids) + '\n\t}\n', definitions='{\n\t\t' + '\n\t\t'.join(self.slots) + '\n\t}\n', - slots=', '.join(f"'{x}'" for x in self.attrs), + slots=', '.join(f"'{x}'" for x in self.attrs) + ' ,', fields='\n\t'.join(self.fields), state=self.state, )