Remove force=True from logging to support Python < 3.8

This commit is contained in:
Fangjun Kuang 2022-06-05 22:38:46 +08:00
parent 113818fd00
commit accf0afb45

View File

@ -131,7 +131,6 @@ def setup_logger(
format=formatter,
level=level,
filemode="w",
force=True,
)
if use_console:
console = logging.StreamHandler()