fixes bug that colour checking introduced
This commit is contained in:
parent
a2170e1659
commit
80db96e2fb
2 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ def make_example_potion(student_name="ASPP student"):
|
|||
"""Make and return an example potion."""
|
||||
my_potion = potion_class.Potion(student_name=student_name)
|
||||
# Set up your old kettle and light an eternal flame underneath it.
|
||||
my_potion.setup(container=containers.OLD_KETTLE, heat_source="eternal_flame")
|
||||
my_potion.setup(container=containers.OLD_KETTLE, heat_source=cooking.ETERNAL_FLAME)
|
||||
# Simmer for 5 hours.
|
||||
cooking.simmer(my_potion, duration=5)
|
||||
print(f"You successfully ran make_example_potion, {student_name}, well done :).")
|
||||
|
@ -24,4 +24,4 @@ if __name__ == "__main__":
|
|||
my_name = 'ASPP student'
|
||||
my_potion = make_example_potion(student_name=my_name)
|
||||
# Let Snape inspect the potion
|
||||
inspection.inspection_by_Snape(potion=my_potion, target_potion='example_potion')
|
||||
inspection.inspection_by_snoope(potion=my_potion, target_potion='example_potion')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue