1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-20 21:21:35 +02:00

Finalizing logging transition.

This commit is contained in:
2021-06-24 20:31:37 +02:00
parent 230fe90e69
commit 0a9536b180
16 changed files with 74 additions and 94 deletions
@@ -380,7 +380,7 @@ class Serializer(object):
is_start = (href and href == start_href)
# Iterate over all filepos items
if href not in id_offsets:
self.logger.warn('Hyperlink target %r not found' % href)
self.logger.warning('Hyperlink target %r not found', href)
# Link to the top of the document, better than just ignoring
href, _ = urllib.parse.urldefrag(href)
if href in self.id_offsets: