refactor code

This commit is contained in:
hibiki
2021-07-30 21:21:51 +08:00
parent 2ad891aa1e
commit cc24822dca
165 changed files with 7815 additions and 8174 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ from .config import path_dict
from configs.path_config import IMAGE_PATH
import nonebot
import pypinyin
from utils.img_utils import CreateImg
from utils.image_utils import CreateImg
import platform
from services.log import logger
import random
@@ -321,5 +321,5 @@ def remove_prohibited_str(name: str):
tmp += i
name = tmp
else:
name = name.replace('/', '')
name = name.replace('/', '\\')
return name