Fixed a logging message

This commit is contained in:
Vangelis Kostalas 2019-05-17 12:58:45 +03:00
parent 3768d39ab3
commit ae19a664f6

View file

@ -23,11 +23,11 @@ def get_blocks():
def get_data():
""" Download the info file for Unicode blocks.
"""
logging.info("Downloading block data...")
req = request.urlopen(
"https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt"
)
content = req.read().decode()
logging.info("Downloading character data...")
logging.info("Done")
return content