- public LocalLibrary(File baseDir) {
- this(baseDir, Instance.getConfig().getString(
- Config.NON_IMAGES_DOCUMENT_TYPE), Instance.getConfig()
- .getString(Config.IMAGES_DOCUMENT_TYPE), false);
+ public LocalLibrary(File baseDir, ConfigBundle config) {
+ this(baseDir, //
+ config.getString(Config.FILE_FORMAT_NON_IMAGES_DOCUMENT_TYPE),
+ config.getString(Config.FILE_FORMAT_IMAGES_DOCUMENT_TYPE), false);