fix: 使用内部pip解决依赖后logging handler重复 (#156)

This commit is contained in:
Rock Chin 2023-02-19 11:18:53 +08:00
parent 0bb5923257
commit c35fd9c4b7

View File

@ -69,6 +69,7 @@ def reset_logging():
log_colors=log_colors_config
))
logging.getLogger().addHandler(sh)
pkg.utils.context.context['logger_handler'] = sh
return sh