Fixed a logging message
This commit is contained in:
		
							parent
							
								
									3768d39ab3
								
							
						
					
					
						commit
						ae19a664f6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,11 +23,11 @@ def get_blocks():
 | 
				
			||||||
def get_data():
 | 
					def get_data():
 | 
				
			||||||
    """ Download the info file for Unicode blocks.
 | 
					    """ Download the info file for Unicode blocks.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    logging.info("Downloading block data...")
 | 
					 | 
				
			||||||
    req = request.urlopen(
 | 
					    req = request.urlopen(
 | 
				
			||||||
        "https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt"
 | 
					        "https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    content = req.read().decode()
 | 
					    content = req.read().decode()
 | 
				
			||||||
 | 
					    logging.info("Downloading character data...")
 | 
				
			||||||
    logging.info("Done")
 | 
					    logging.info("Done")
 | 
				
			||||||
    return content
 | 
					    return content
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue