Added function to quickly return scaled desired plant image.
This commit is contained in:
parent
b345f827b3
commit
8d1d176d5b
3
Image.py
3
Image.py
@ -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]
|
Loading…
Reference in New Issue
Block a user