Changing default answer for sitemap checking to N

This commit is contained in:
Miroslav Stampar 2015-04-14 09:30:01 +02:00
parent 1e7f2d6da2
commit 0e4800f73c

View File

@ -123,9 +123,9 @@ def crawl(target):
if not conf.sitemapUrl: if not conf.sitemapUrl:
message = "do you want to check for the existence of " message = "do you want to check for the existence of "
message += "site's sitemap(.xml) [Y/n] " message += "site's sitemap(.xml) [y/N] "
test = readInput(message, default="Y") test = readInput(message, default="n")
if test[0] not in ("n", "N"): if test[0] in ("y", "Y"):
items = None items = None
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port) url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
try: try: