Administrator
2023-08-28 4bec5d4c562e5ae9813fda6777be2bc42b942cb5
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__":