Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid off-by-one when scraping 'servings_text' #3363

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 13, 2024

  1. Avoid off-by-one when scraping 'servings_text'

    This was showing something like `servings=4` and `servings_text="['4']"` for all recipes I imported. Use the *first* item in the list instead of the second-- my list only has one entry which threw an exception, dropped it, and stringified the list. This matches the behavior of `servings`.
    jmerdich authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    a6f98b6 View commit details
    Browse the repository at this point in the history