This commit is contained in:
əlemi 2021-11-18 03:11:59 +01:00
parent 80f3b769a2
commit 1d6916932b

View file

@ -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,
)