start implementing edit_recipe
This commit is contained in:
14
frontend/views/recipes/recipe_manager.py
Normal file
14
frontend/views/recipes/recipe_manager.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from .recipe import V60, ESPRESSO
|
||||
|
||||
class RecipeManager:
|
||||
def __init__(self):
|
||||
self.recipes = [
|
||||
V60,
|
||||
ESPRESSO
|
||||
]
|
||||
|
||||
def add_recipe(self, recipe):
|
||||
self.recipes.append(recipe)
|
||||
|
||||
def remove_recipe(self, recipe):
|
||||
self.recipes.remove(recipe)
|
||||
Reference in New Issue
Block a user