removed usage of non-existing name

This commit is contained in:
CiscoTheWolf 2023-06-05 21:57:52 +02:00
parent 56b34cd083
commit 2c24e076ae

View file

@ -76,10 +76,10 @@ def generate_point_array_from_image(image):
cached_point_arrays = load_cached_point_arrays()
if image_hash in cached_point_arrays:
print("Found existing point array matching png: " + image.filename + " using existing array.")
print("Found existing point array matching png. Using existing array.")
return [Point2D(point["x"], point["y"], tuple(point["color"])) for point in cached_point_arrays[image_hash]]
print("No existing point array matching png: " + image.filename + " found. Generating now.")
print("No existing point array matching png found. Generating now.")
width, height = image.size
pixel_array = []