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

fix for censorship label bug #454

Merged
merged 2 commits into from
Sep 27, 2024
Merged

fix for censorship label bug #454

merged 2 commits into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. fix for censorship label bug

    rbrtcs1 authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9c5cf75 View commit details
    Browse the repository at this point in the history
  2. fix: don't iterate on None from gen_metadata key

    `dict.get(...)` returns the value of a key if it is set. The default parameter (the second parameter) only returns a default value **if the key does not exist**. Therefore, if the key `gen_metadata` is set in `kwargs`, and is set to `None`, then `kwargs.get("gen_metadata", [])` will return `None` and **not** an empty list (`[]`).
    tazlin committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a3dfeba View commit details
    Browse the repository at this point in the history