From 7d64742dda9a7c0f57ca3f882228378c0b4802a6 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 28 Aug 2024 14:08:31 -0700 Subject: [PATCH] fix: use log.warn in 'Flowers - Le Volume Sur Hiver' fix --- gamefixes-gog/umu-1564851593.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamefixes-gog/umu-1564851593.py b/gamefixes-gog/umu-1564851593.py index 21ed54c5..4d519563 100644 --- a/gamefixes-gog/umu-1564851593.py +++ b/gamefixes-gog/umu-1564851593.py @@ -57,7 +57,7 @@ def main(): # pylint: disable=R0914 # Download the archive with urlopen(arc, timeout=30) as resp: if resp.status != 200: - log.warning(f"github returned the status code: {resp.status}") + log.warn(f"github returned the status code: {resp.status}") return with open(tmp, mode="wb", buffering=0) as file: @@ -70,7 +70,7 @@ def main(): # pylint: disable=R0914 hashsum.update(view[:size]) if hashsum_arc != hashsum.hexdigest(): - log.warning(f"Digest mismatch: {arc}") + log.warn(f"Digest mismatch: {arc}") log.warn(f"Expected '{hashsum_arc}', skipping...") return