mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 14:06:07 -04:00
remove explicitly some warnings present in arrow==0.14.5
This commit is contained in:
@@ -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+);")
|
||||
|
Reference in New Issue
Block a user