Skip to content

Commit 0469874

Browse files
committed
v1.0.6
1 parent efdb0d4 commit 0469874

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[MESSAGES CONTROL]
2-
disable = missing-docstring, multiple-imports, too-few-public-methods, too-many-instance-attributes
2+
disable = consider-using-f-string, missing-docstring, multiple-imports, too-few-public-methods, too-many-instance-attributes
33

44
[FORMAT]
55
max-line-length = 150

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

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

image_preview_thumbnailer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def process_link(img_downloader, anchor_tag, url_match, config=PluginConfig()):
141141
LOGGER.info("Thumbnail does not exist => downloading image from %s", anchor_tag['href'])
142142
tmp_thumb_filepath = img_downloader(url_match, config)
143143
if not tmp_thumb_filepath: # => means the downloader failed to retrieve the image in a "supported" case
144-
with open(config.fs_thumbs_dir(thumb_filename + '.none', encoding='utf8'), 'w'):
144+
with open(config.fs_thumbs_dir(thumb_filename + '.none'), 'w', encoding='utf8'):
145145
pass
146146
return
147147
img_ext = os.path.splitext(tmp_thumb_filepath)[1]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pelican-plugin-image-preview-thumbnailer"
3-
version = "1.0.4"
3+
version = "1.0.6"
44
description = "Pelican plugin that insert thumbnails along image links"
55
authors = ["Lucas Cimon <[email protected]>"]
66
license = "AGPL-3.0"

0 commit comments

Comments
 (0)