change get_image_string to include check processes

This commit is contained in:
Riley Housden 2022-08-22 15:00:25 -04:00
parent 54bb479e39
commit 1004769e80

View file

@ -87,4 +87,7 @@ def get_room_data(img: bytes) -> list[Room]:
return rooms
def get_image_string(img: bytes) -> str:
return image_to_string(Image.open(BytesIO(img)))
img_string = image_to_string(Image.open(BytesIO(img)))
img_string = correct_newlines(img_string)
img_string = correct_commas(img_string)
return img_string