diff --git a/game/scripts/utility/updater.rpy b/game/scripts/utility/updater.rpy index 51e1a331..924f11d4 100644 --- a/game/scripts/utility/updater.rpy +++ b/game/scripts/utility/updater.rpy @@ -153,8 +153,11 @@ init python: except: path = os.path.join(config.basedir, "update", "generic.webp") - with open(path, "rb") as f: - data = f.read() + if os.path.isfile(path): + with open(path, "rb") as f: + data = f.read() + else: + data = Null() return Fixed(im.Data(data, path), Text(UPDATE_VER, size=96, align=(0.5, 0.8), color="#000000", outlines=[( 1, "#ffffff", 0, 0 )]), fit_first=True)