mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-03-15 20:34:31 +00:00
Bulk convert comments above classes/functions/methods into proper docstrings
This commit is contained in:
@@ -17,9 +17,10 @@ for dxcc in data["dxcc"]:
|
||||
flag = dxcc["flag"]
|
||||
image = Image.new("RGBA", (140, 110), (255, 0, 0, 0))
|
||||
draw = ImageDraw.Draw(image)
|
||||
draw.text((0, -10), flag, font=ImageFont.truetype("/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", 109), embedded_color=True)
|
||||
draw.text((0, -10), flag, font=ImageFont.truetype("/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", 109),
|
||||
embedded_color=True)
|
||||
outfile = str(id) + ".png"
|
||||
image.save(outfile, "PNG")
|
||||
|
||||
image = Image.new("RGBA", (140, 110), (255, 0, 0, 0))
|
||||
image.save("999.png", "PNG")
|
||||
image.save("999.png", "PNG")
|
||||
|
||||
Reference in New Issue
Block a user