Commit e5a5b4ce authored by nekk's avatar nekk
Browse files

[preview] address style issue and bump version

parent 9e3107b6
Pipeline #7746 passed with stage
in 1 minute and 52 seconds
name: Url image preview
short_name: url_image_preview
version: 2.6.5
version: 2.6.6
description: Displays a preview of image links.
authors = Denis Fomin <>
Yann Leboulanger <>
......@@ -508,7 +508,7 @@ class UrlImagePreviewPlugin(GajimPlugin):
self._update_textview(preview, pixbuf)
def _guess_mime_type(file_path, data = None):
def _guess_mime_type(file_path, data=None):
mime_type, _ = mimetypes.MimeTypes().guess_type(str(file_path))
if mime_type is None:
# Try to guess MIME type by file name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment