From 8c1c8555317c54bdb03f704ad6fee5e5f1ca1a38 Mon Sep 17 00:00:00 2001 From: devi <70220050+davvarrr@users.noreply.github.com> Date: Mon, 24 Jul 2023 08:50:17 +0200 Subject: [PATCH] Update src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt Co-authored-by: Koitharu --- .../kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt index 45e0e549..786f11fb 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/LugnicaScans.kt @@ -58,7 +58,7 @@ internal class LugnicaScans(context: MangaLoaderContext) : PagedMangaParser(cont if (sortOrder == SortOrder.ALPHABETICAL) { append("/mangas/") // just to stop the search of the ALPHABETICAL page because it contains all the manga and has no page function ( to change if there is a better method to stop the search ) - if (page.toString() == "2") { + if (page == 2) { append(page.toString()) // juste for break } }