Possible fix for ticket http://bugs.yacy.net/view.php?id=270, the filter for only including *.black must be applied

pull/1/head
Roland Haeder 12 years ago committed by orbiter
parent 7263bb82fb
commit 29049c71f5

@ -54,7 +54,7 @@ public class BlacklistImpExp_p {
ListManager.listsPath = new File(ListManager.switchboard.getDataPath(),ListManager.switchboard.getConfig("listManager.listsPath", "DATA/LISTS"));
// loading all blacklist files located in the directory
final List<String> dirlist = FileUtils.getDirListing(ListManager.listsPath);
final List<String> dirlist = FileUtils.getDirListing(ListManager.listsPath, Blacklist.BLACKLIST_FILENAME_FILTER);
String blacklistToUse = null;
final serverObjects prop = new serverObjects();

Loading…
Cancel
Save