From 4ba0f343e3d4e44bbadc1707cdb86cb8b113d09b Mon Sep 17 00:00:00 2001 From: inorichi Date: Tue, 23 Feb 2016 17:32:47 +0100 Subject: [PATCH] Fix #179 --- .../main/java/eu/kanade/tachiyomi/util/ChapterRecognition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/ChapterRecognition.java b/app/src/main/java/eu/kanade/tachiyomi/util/ChapterRecognition.java index 1373deae1f..08fa0f4b73 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/ChapterRecognition.java +++ b/app/src/main/java/eu/kanade/tachiyomi/util/ChapterRecognition.java @@ -153,7 +153,7 @@ public class ChapterRecognition { Matcher m = uncleanNumber.matcher(text); if (m.find()) { try { - Float value = Float.parseFloat(m.group(1)); + Float value = Float.parseFloat(m.group(1).replaceAll(",", ".")); if (!occurences.contains(value)) { occurences.add(value); }