mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Fix #179
This commit is contained in:
parent
4876eaafcc
commit
4ba0f343e3
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class ChapterRecognition {
|
||||||
Matcher m = uncleanNumber.matcher(text);
|
Matcher m = uncleanNumber.matcher(text);
|
||||||
if (m.find()) {
|
if (m.find()) {
|
||||||
try {
|
try {
|
||||||
Float value = Float.parseFloat(m.group(1));
|
Float value = Float.parseFloat(m.group(1).replaceAll(",", "."));
|
||||||
if (!occurences.contains(value)) {
|
if (!occurences.contains(value)) {
|
||||||
occurences.add(value);
|
occurences.add(value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue