Skip to content

Commit

Permalink
v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Sep 20, 2021
1 parent efdb0d4 commit 0469874
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MESSAGES CONTROL]
disable = missing-docstring, multiple-imports, too-few-public-methods, too-many-instance-attributes
disable = consider-using-f-string, missing-docstring, multiple-imports, too-few-public-methods, too-many-instance-attributes

[FORMAT]
max-line-length = 150
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.5] - 2021-09-20
## [1.0.6] - 2021-09-20
### Added
* support for links to [FreeSVG.org](https://freesvg.org) vector images

Expand Down
2 changes: 1 addition & 1 deletion image_preview_thumbnailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def process_link(img_downloader, anchor_tag, url_match, config=PluginConfig()):
LOGGER.info("Thumbnail does not exist => downloading image from %s", anchor_tag['href'])
tmp_thumb_filepath = img_downloader(url_match, config)
if not tmp_thumb_filepath: # => means the downloader failed to retrieve the image in a "supported" case
with open(config.fs_thumbs_dir(thumb_filename + '.none', encoding='utf8'), 'w'):
with open(config.fs_thumbs_dir(thumb_filename + '.none'), 'w', encoding='utf8'):
pass
return
img_ext = os.path.splitext(tmp_thumb_filepath)[1]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pelican-plugin-image-preview-thumbnailer"
version = "1.0.4"
version = "1.0.6"
description = "Pelican plugin that insert thumbnails along image links"
authors = ["Lucas Cimon <[email protected]>"]
license = "AGPL-3.0"
Expand Down

0 comments on commit 0469874

Please sign in to comment.