mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 17:49:16 +03: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);
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue