mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-19 05:41:00 +00:00
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:
parent
54b8126ccb
commit
a80c2ee76a
1 changed files with 1 additions and 1 deletions
|
|
@ -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") % \
|
||||
|
|
|
|||
Loading…
Reference in a new issue