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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user