change config bundle to better work with new nikiroo-utils
[fanfix.git] / src / be / nikiroo / fanfix / supported / BasicSupportPara.java
index d3beea53b47c39b251c5b31647397f54628ac54f..9795cf661a25c8ce6b3ce63dd827725125dcf485 100644 (file)
@@ -68,8 +68,7 @@ class BasicSupportPara {
                // "Chapter 5: - Fun!" after the ": " was automatically added)
                String chapterName = BasicSupportPara.processPara(name, false)
                                .getContent().trim();
-               for (String lang : Instance.getConfig().getString(Config.CHAPTER)
-                               .split(",")) {
+               for (String lang : Instance.getConfig().getList(Config.CHAPTER)) {
                        String chapterWord = Instance.getConfig().getStringX(
                                        Config.CHAPTER, lang);
                        if (chapterName.startsWith(chapterWord)) {