From 4d102fdc299a17c027e033517a3eee609d9a8cb2 Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Fri, 21 Aug 2020 17:21:08 +0200
Subject: [PATCH] Fixed typos

---
 pysegcnn/core/logging.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pysegcnn/core/logging.py b/pysegcnn/core/logging.py
index edcdbbd..916a4f0 100644
--- a/pysegcnn/core/logging.py
+++ b/pysegcnn/core/logging.py
@@ -42,7 +42,7 @@ def log_conf(logfile):
     # check if the parent directory of the log file exists
     logfile = pathlib.Path(logfile)
     if not logfile.parent.is_dir():
-        logfile.parents.mkdir(parent=True, exist_ok=True)
+        logfile.parent.mkdir(parents=True, exist_ok=True)
 
     LOGGING_CONFIG = {
         'version': 1,
-- 
GitLab