Skip to content

Commit

Permalink
allow unknown recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
beasteers committed Oct 8, 2024
1 parent 805f21a commit e45a727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ async def current_session_id(self):

async def start_recipe(self, id: str):
recipe = await recipes.recipe_db.get(id)
if not recipe:
raise ValueError(f"Recipe {id} not found.")
# if not recipe:
# raise ValueError(f"Recipe {id} not found.")
session_id = str(int(time.time()))
async with ctx.redis.pipeline() as pipe:
pipe.set(RECIPE_ID, id)
Expand Down

0 comments on commit e45a727

Please sign in to comment.