Skip to content

Commit

Permalink
Initialize uninitialized manga during global update (#1015)
Browse files Browse the repository at this point in the history
They were only initialized in case the setting to refresh manga metadata during an update was enabled.
However, this should always be done for uninitialized manga, regardless of the setting.

06bfc33 prevents uninitialized manga from getting filtered out, however, it did not ensure to initialize the manga
  • Loading branch information
schroda authored Aug 31, 2024
1 parent ef6be74 commit 7fac538
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class Updater : IUpdater {
tracker[job.manga.id] =
try {
logger.info { "Updating ${job.manga}" }
if (serverConfig.updateMangas.value) {
if (serverConfig.updateMangas.value || !job.manga.initialized) {
Manga.getManga(job.manga.id, true)
}
Chapter.getChapterList(job.manga.id, true)
Expand Down

0 comments on commit 7fac538

Please sign in to comment.