mirror of
https://github.com/ciromattia/kcc
synced 2026-10-04 00:22:31 +00:00
better error when attempting to add images directly (#1158)
This commit is contained in:
@@ -27,6 +27,9 @@ import sys
|
||||
from traceback import format_tb
|
||||
|
||||
|
||||
IMAGE_TYPES = ('.png', '.jpg', '.jpeg', '.gif', '.webp', '.jp2', '.avif')
|
||||
|
||||
|
||||
class HTMLStripper(HTMLParser):
|
||||
def __init__(self):
|
||||
HTMLParser.__init__(self)
|
||||
|
||||
Reference in New Issue
Block a user