mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
utils: ignore pylint import-error warning
This is a python3 fallback.
This commit is contained in:
parent
0aa10b7b5d
commit
ad98867700
@ -7,9 +7,11 @@ import logging
|
||||
import re
|
||||
import time
|
||||
import unicodedata
|
||||
|
||||
try:
|
||||
import HTMLParser
|
||||
except ImportError:
|
||||
# pylint: disable-msg=import-error
|
||||
import html.parser as HTMLParser
|
||||
|
||||
is_py2 = (sys.version_info[0] == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user