mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 06:00:39 +00:00
fix warning
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@734 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f92c2ca4c2
commit
999541e876
1 changed files with 2 additions and 2 deletions
|
|
@ -248,7 +248,7 @@ for opt,arg in options:
|
|||
configfiles.append(arg)
|
||||
config.read(configfiles)
|
||||
# disable threading for debugging
|
||||
if linkcheck.Config.DebugLevel > 0:
|
||||
if get_debuglevel() > 0:
|
||||
config.disableThreading()
|
||||
# apply commandline options and arguments
|
||||
_user = "anonymous"
|
||||
|
|
@ -385,7 +385,7 @@ if len(args)==0:
|
|||
urls = raw_input(i18n._("enter one or more urls, separated by white-space\n--> "))
|
||||
args = urls.split()
|
||||
else:
|
||||
config.warn(i18n._("no files or urls given"))
|
||||
warn(i18n._("no files or urls given"))
|
||||
|
||||
# syntactic sugar
|
||||
from linkcheck import UrlData
|
||||
|
|
|
|||
Loading…
Reference in a new issue