Skip to content

Commit 728f731

Browse files
looyunpython273
authored andcommitted
Fix NotAllowedTag call
1 parent 77d67c1 commit 728f731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegraph/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def add_str_node(self, s):
6161

6262
def handle_starttag(self, tag, attrs_list):
6363
if tag not in ALLOWED_TAGS:
64-
raise NotAllowedTag('%s tag is not allowed', tag)
64+
raise NotAllowedTag('%s tag is not allowed' % tag)
6565

6666
node = {'tag': tag}
6767

0 commit comments

Comments
 (0)