From cf7bcd91e6c3db5bc134de99fb12c83eea0f927c Mon Sep 17 00:00:00 2001 From: "D. MacCarthy" Date: Sat, 22 Apr 2023 09:51:29 -0600 Subject: [PATCH] Version 3.0.2 --- sc8pr/util.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sc8pr/util.py b/sc8pr/util.py index 0561d27..c29afa3 100644 --- a/sc8pr/util.py +++ b/sc8pr/util.py @@ -294,7 +294,7 @@ def __init__(self, srf, bg=None): srf = pygame.Surface(srf, pygame.SRCALPHA) if bg is not None: srf.fill(bg if type(bg) is pygame.Color else rgba(bg)) - self.original = srf + self.original = srf if type(srf) is pygame.Surface else surface(srf) self.dumpCache() def dumpCache(self): diff --git a/setup.cfg b/setup.cfg index a108bea..4eebce9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = sc8pr -version = 3.0.1 +version = 3.0.2 author = D.G. MacCarthy author_email = sc8pr.py@gmail.com url = https://dmaccarthy.github.io/sc8pr