fixed wrong parameter check

pull/1/head
bhoerdzn 11 years ago
parent 2214bf5396
commit c27fabc88e

@ -112,7 +112,7 @@ public class CrawlStartExpert_p {
} }
// try to guess mode // try to guess mode
if (!hasMode) { if (!hasMode) {
if (prop.getBoolean("has_crawlingURL")) { if (prop.getBoolean("has_url")) {
prop.put("crawlingMode_url", "1"); prop.put("crawlingMode_url", "1");
} else if (prop.getBoolean("has_sitemapURL")) { } else if (prop.getBoolean("has_sitemapURL")) {
prop.put("crawlingMode_sitemap", "1"); prop.put("crawlingMode_sitemap", "1");

Loading…
Cancel
Save