Commit 94f6f826 authored by Felix Exner's avatar Felix Exner Committed by Oskar Roesler
Browse files

Fix check_and_create_path function

The old code should not have been working I think.
parent c09ae7d0
......@@ -35,7 +35,8 @@ class Routines:
@staticmethod
def check_and_create_path(path):
if not (os.path.exists(path)):
Path.mkdir(path)
p = Path(path)
p.mkdir(parents=True)
def get_config(self):
configfile_path = os.path.join(self.config_path, 'config.ini')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment