Blacken the code base.

This commit is contained in:
yrriban 2025-12-24 18:35:43 -05:00
parent d585c1529d
commit 07d079f204
19 changed files with 138 additions and 168 deletions

View file

@ -22,11 +22,11 @@ class SS(dcc.doom_base.WadMap):
height = self.thumbnail_height
with wand.image.Image(width=width, height=height, pseudo="x:") as img:
img.reset_coords()
if (img.width < width or img.height < height):
if img.width < width or img.height < height:
if not messagebox.askretrycancel(
title="DCC",
message=f"Image too small ({img.width}x{img.height})." +
"Try again?"
message=f"Image too small ({img.width}x{img.height})."
+ "Try again?",
):
sys.exit("Gave up trying to select an image.")
return False