summaryrefslogtreecommitdiff
path: root/poezio/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/config.py')
-rw-r--r--poezio/config.py2
1 files changed, 1 insertions, 1 deletions
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)