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

@ -23,4 +23,7 @@ class Image:
x=random.randint(0,5)
keys=list(self.plants_image_dict.keys())
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]