change config bundle to better work with new nikiroo-utils
[fanfix.git] / src / be / nikiroo / fanfix / supported / BasicSupportHelper.java
index 2c3c4fe68187ff3588574e3a874cd4a8f126f7bd..652506762ff6b9cc5aa13f19836d40d04e16bd42 100644 (file)
@@ -204,8 +204,7 @@ class BasicSupportHelper {
        public static String fixAuthor(String author) {
                if (author != null) {
                        for (String suffix : new String[] { " ", ":" }) {
-                               for (String byString : Instance.getConfig()
-                                               .getString(Config.BYS).split(",")) {
+                               for (String byString : Instance.getConfig().getList(Config.BYS)) {
                                        byString += suffix;
                                        if (author.toUpperCase().startsWith(byString.toUpperCase())) {
                                                author = author.substring(byString.length()).trim();