From 0cfaf131ffff7549290acddcf38583f78cacae23 Mon Sep 17 00:00:00 2001 From: KikooDX Date: Thu, 9 Apr 2020 19:11:30 +0200 Subject: [PATCH] [minor] (sprito.py) specified output type of SpriteIndexed.to_raw --- sprito.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sprito.py b/sprito.py index 6d19578..d1468df 100644 --- a/sprito.py +++ b/sprito.py @@ -13,7 +13,7 @@ class SpriteIndexed: if data_cell and data_cell != " ": set_pixel(x + xoff, y + yoff, pallet[data_cell]) i += 1 - def to_raw(self, pallet: dict): + def to_raw(self, pallet: dict) -> SpriteRaw: raw_data = [] for i in range(len(self.data)): data_cell = self.data[i]