Fixed missed assignment

This commit is contained in:
Fabio Manganiello 2021-11-27 02:00:43 +01:00
parent 02b5ec1d38
commit e615891bf3
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -110,7 +110,7 @@ class HttpWebpagePlugin(Plugin):
raise RuntimeError('Could not parse JSON: {}. Response: {}'.format(str(e), response)) raise RuntimeError('Could not parse JSON: {}. Response: {}'.format(str(e), response))
if type == 'markdown': if type == 'markdown':
self._fix_relative_links(response['content'], url) response['content'] = self._fix_relative_links(response['content'], url)
self.logger.debug('Got response from Mercury API: {}'.format(response)) self.logger.debug('Got response from Mercury API: {}'.format(response))
title = response.get('title', '{} on {}'.format( title = response.get('title', '{} on {}'.format(