Don't keep saving this as bookshelf_blue.png
authorAlex Chan <alex@alexwlchan.net>
Wed, 25 Nov 2020 21:10:53 +0000 (21:10 +0000)
committerAlex Chan <alex@alexwlchan.net>
Wed, 25 Nov 2020 21:10:53 +0000 (21:10 +0000)
scripts/generate_bookshelf.py

index 1748f40..888afb2 100755 (executable)
@@ -56,8 +56,6 @@ def create_shelf(tint_color):
         r, g, b = bin_color
         draw.rectangle(bin_xy, (int(r * 255), int(g * 255), int(b * 255)))
 
-    im.save("static/bookshelf_blue.png")
-
     return im