Administrator
2023-08-28 5afd4febbb17fa5bd7c206033811047c1c878bb5
log_module/log.py
@@ -356,10 +356,10 @@
def close_print():
    pass
    # logging.basicConfig(level=logging.ERROR)
    # if not constant.is_windows():
    #     os.close(1)
    #     os.open('/dev/null', os.O_WRONLY)
    logging.basicConfig(level=logging.ERROR)
    if not constant.is_windows():
        os.close(1)
        os.open('/dev/null', os.O_WRONLY)
if __name__ == "__main__":