From fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 5 Jul 2018 16:28:44 +0200 Subject: Add a bunch of str() to convert pathlib.Path into str. --- poezio/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/config.py') diff --git a/poezio/config.py b/poezio/config.py index f3c5f375..dfe46e3c 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -599,7 +599,7 @@ def setup_logging(): LOGGING_CONFIG['handlers']['error'] = { 'level': 'ERROR', 'class': 'logging.FileHandler', - 'filename': LOG_DIR / 'errors.log', + 'filename': str(LOG_DIR / 'errors.log'), 'formatter': 'simple', } logging.disable(logging.WARNING) -- cgit v1.2.3