Skip to content

Commit

Permalink
fix: use log.warn in 'Flowers - Le Volume Sur Hiver' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Aug 28, 2024
1 parent 199e489 commit 7d64742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamefixes-gog/umu-1564851593.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down

0 comments on commit 7d64742

Please sign in to comment.