fix has_encoding typo

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1897 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-10-27 21:02:58 +00:00
parent 54b8126ccb
commit a80c2ee76a

View file

@ -420,7 +420,7 @@ if options.output:
logtype, encoding = options.output.split("/", 1)
else:
logtype, encoding = options.output, "iso-8859-15"
if linkcheck.Loggers.has_key(logtype) and has_codec(encoding):
if linkcheck.Loggers.has_key(logtype) and has_encoding(encoding):
config['logger'] = config.logger_new(logtype, encoding=encoding)
else:
printUsage(_("Illegal argument %r for option %s") % \