From b7d0a65bdffe1d61f84c35452eec6c802ce0d621 Mon Sep 17 00:00:00 2001 From: zvecr Date: Sun, 20 Oct 2019 01:33:02 +0100 Subject: [PATCH] Fix No such file or directory: 'C:\\dev\\null' --- milc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milc.py b/milc.py index 7b130bd..ddc833c 100644 --- a/milc.py +++ b/milc.py @@ -39,7 +39,7 @@ import colorama from appdirs import user_config_dir # Disable logging until we can configure it how the user wants -logging.basicConfig(filename='/dev/null') +logging.basicConfig(stream=os.devnull) # Log Level Representations EMOJI_LOGLEVELS = {