Added function to quickly return scaled desired plant image.

This commit is contained in:
jakzar 2024-03-23 13:59:24 +01:00
parent b345f827b3
commit 8d1d176d5b

View File

@ -24,3 +24,6 @@ class Image:
keys=list(self.plants_image_dict.keys()) keys=list(self.plants_image_dict.keys())
plant=keys[x] plant=keys[x]
return self.plants_image_dict[plant] return self.plants_image_dict[plant]
def return_plant(self,plant_name):
return self.plants_image_dict[plant_name]