diff options
| author | Fuwn <[email protected]> | 2023-07-29 17:12:56 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-07-29 17:12:56 -0700 |
| commit | 4f010acf4942192320f370c3f45f6ccfac2510f4 (patch) | |
| tree | c5c494bea0ddad569a9a2078e0b0e31e6d4b5674 /src/due/html | |
| parent | fix(collections): user name imports (diff) | |
| download | old.due.moe-4f010acf4942192320f370c3f45f6ccfac2510f4.tar.xz old.due.moe-4f010acf4942192320f370c3f45f6ccfac2510f4.zip | |
feat(index): hide missing by default
Diffstat (limited to 'src/due/html')
| -rw-r--r-- | src/due/html/anime.py | 2 | ||||
| -rw-r--r-- | src/due/html/manga.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/due/html/anime.py b/src/due/html/anime.py index dfbd741..92b4670 100644 --- a/src/due/html/anime.py +++ b/src/due/html/anime.py @@ -29,7 +29,7 @@ def anime_to_html(releasing_outdated_anime): if title is None: title = anime["title"]["romaji"] - if request.cookies.get("show_missing") is not None and str(available)[0] == "?": + if request.cookies.get("show_missing") is None and str(available)[0] == "?": ids.pop() continue diff --git a/src/due/html/manga.py b/src/due/html/manga.py index ea655ba..dbf6154 100644 --- a/src/due/html/manga.py +++ b/src/due/html/manga.py @@ -119,7 +119,7 @@ def manga_to_html(releasing_outdated_manga, show_missing): ) ) - if show_missing is not None and str(available)[0] == "?": + if show_missing is None and str(available)[0] == "?": ids.pop() return |