++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
94724427fa
commit
a8e8d7b227
1 changed files with 2 additions and 0 deletions
|
@ -211,9 +211,11 @@ class DirectoryDictProperty(DirectoryDict):
|
|||
path = self.__path
|
||||
if callable(path):
|
||||
path = path(*args, **kwargs)
|
||||
print("_set_path: %s" % path)
|
||||
if not os.path.isabs(path):
|
||||
raise AbsolutePathRequiredError(path)
|
||||
# create directory if it doesn't exist
|
||||
print("os.path.isdir(%s): %s" % (path, os.path.isdir(path)))
|
||||
if not os.path.isdir(path):
|
||||
os.mkdir(path)
|
||||
self.path = path
|
||||
|
|
Loading…
Reference in a new issue