Improved logging.
This commit is contained in:
parent
d1f0f23b4c
commit
e207c8ee47
6 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ def handle_url(url, session, res):
|
|||
continue
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
res[name] = shortname
|
||||
if not res:
|
||||
|
|
|
@ -224,7 +224,7 @@ def handle_url(url, session, res):
|
|||
continue
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
# find description
|
||||
end = match.end()
|
||||
|
|
|
@ -37,7 +37,7 @@ def handle_url(url, session, res):
|
|||
continue
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
res[name] = url
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ def handle_url(url, session, url_matcher, num_matcher, res):
|
|||
name = capfirst(asciify(path))
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
if name in exclude_comics:
|
||||
continue
|
||||
|
|
|
@ -67,7 +67,7 @@ def handle_url(url, session, res):
|
|||
continue
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
res[name] = shortname
|
||||
|
||||
|
|
|
@ -236,7 +236,7 @@ def handle_url(url, session, res):
|
|||
continue
|
||||
if contains_case_insensitive(res, name):
|
||||
# we cannot handle two comics that only differ in case
|
||||
print("INFO: skipping possible duplicate", name, file=sys.stderr)
|
||||
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
|
||||
continue
|
||||
# find out how many images this comic has
|
||||
end = match.end()
|
||||
|
|
Loading…
Reference in a new issue