From 53b8adab471b2bb52d9cb22b1d33c295e7cdcef4 Mon Sep 17 00:00:00 2001 From: HailSanta Date: Fri, 22 Sep 2023 21:21:59 -0400 Subject: [PATCH] format py --- tools/splat_ext/sprite_common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/splat_ext/sprite_common.py b/tools/splat_ext/sprite_common.py index 1f6f509c5cc..6059b05b77f 100644 --- a/tools/splat_ext/sprite_common.py +++ b/tools/splat_ext/sprite_common.py @@ -17,6 +17,7 @@ class CMD(IntEnum): LOOP = 7 SET_META = 8 + XML_ATTR_NAME = "name" XML_ATTR_INDEX = "index" XML_ATTR_VALUE = "value" @@ -29,6 +30,7 @@ class CMD(IntEnum): XML_ATTR_XYZ = "xyz" XML_ATTR_FLAG = "flag" + def iter_in_groups(iterable, n, fillvalue=None): args = [iter(iterable)] * n return zip_longest(*args, fillvalue=fillvalue)