make logging string unicode

This commit is contained in:
debugtalk
2017-11-02 20:40:56 +08:00
parent 0018f5257e
commit 895478719d
5 changed files with 22 additions and 21 deletions

View File

@@ -398,7 +398,7 @@ def create_scaffold(project_path):
if os.path.isdir(project_path):
folder_name = os.path.basename(project_path)
logging.warning(" Folder {} exists, please specify a new folder name.".format(folder_name))
logging.warning(u" Folder {} exists, please specify a new folder name.".format(folder_name))
return
def create_path(path, ptype):