Skip to content

Commit

Permalink
Fix NotAllowedTag call
Browse files Browse the repository at this point in the history
  • Loading branch information
looyun authored and python273 committed Aug 17, 2018
1 parent 77d67c1 commit 728f731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegraph/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def add_str_node(self, s):

def handle_starttag(self, tag, attrs_list):
if tag not in ALLOWED_TAGS:
raise NotAllowedTag('%s tag is not allowed', tag)
raise NotAllowedTag('%s tag is not allowed' % tag)

node = {'tag': tag}

Expand Down

0 comments on commit 728f731

Please sign in to comment.