Skip to content

Commit

Permalink
Delint
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-critter committed Feb 14, 2019
1 parent 0bf2ef5 commit 0d8323f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publ/html_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _image_attrs(self, attrs):
return [('data-publ-error', 'file not found: {}'.format(error.filename))]

# return the original attr list with the computed overrides in place
return [(key, val) for key, val in attrs if key not in img_attrs] + [i for i in img_attrs.items()]
return [(key, val) for key, val in attrs if key not in img_attrs] + list(img_attrs.items())


def process(text, config, search_path):
Expand Down

0 comments on commit 0d8323f

Please sign in to comment.