Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
ignoring args
Browse files Browse the repository at this point in the history
  • Loading branch information
nnadeau committed Jun 20, 2017
1 parent 7a61c9b commit c24b66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean_readme.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pandocfilters import toJSONFilter


def strip_links(key, value, fmt, _):
def strip_links(key, value, *_):
# strip readme badges
if key == 'Para':
if value[0]['t'] == 'Link' and value[0]['c'][0][0]['t'] == 'Image':
Expand Down

0 comments on commit c24b66e

Please sign in to comment.