mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-18 16:40:41 -06:00
remove explicitly some warnings present in arrow==0.14.5
This commit is contained in:
parent
29290b1468
commit
bafb56651c
@ -17,9 +17,13 @@ import languageHandler
|
||||
import arrow
|
||||
import logging
|
||||
import config
|
||||
import warnings
|
||||
from arrow.factory import ArrowParseWarning
|
||||
from .long_tweets import twishort, tweets
|
||||
log = logging.getLogger("compose")
|
||||
|
||||
warnings.simplefilter("ignore", ArrowParseWarning)
|
||||
|
||||
def StripChars(s):
|
||||
"""Converts any html entities in s to their unicode-decoded equivalents and returns a string."""
|
||||
entity_re = re.compile(r"&(#\d+|\w+);")
|
||||
|
Loading…
x
Reference in New Issue
Block a user