Mercurial > minori
changeset 384:0393debc0ed2
fix airing status not being imported from database correctly
oops
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 08:57:41 -0500 |
| parents | 27c462bc7815 |
| children | aa38b904de4f |
| files | src/gui/translate/anime.cc |
| diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui/translate/anime.cc Thu Nov 06 07:10:58 2025 -0500 +++ b/src/gui/translate/anime.cc Thu Nov 06 08:57:41 2025 -0500 @@ -125,9 +125,10 @@ std::string lower = Strings::ToLower(str); - if (map.find(str) == map.end()) + if (map.find(lower) == map.end()) return Anime::SeriesStatus::Unknown; - return map.at(str); + + return map.at(lower); } Anime::Season::Name ToSeriesSeason(const std::string &str)
