Fix location used by assertDirectories
This commit is contained in:
parent
c5a5500654
commit
e5935d0bee
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Connection:
|
||||||
IOError: Raised if a directory that does not exist cannot be
|
IOError: Raised if a directory that does not exist cannot be
|
||||||
created.
|
created.
|
||||||
"""
|
"""
|
||||||
for d in [directory, self._vessel.tempdir]:
|
for d in [directory.location, self._vessel.tempdir]:
|
||||||
if not self._exists(d):
|
if not self._exists(d):
|
||||||
self._mkdir(d)
|
self._mkdir(d)
|
||||||
elif not self._isdir(d):
|
elif not self._isdir(d):
|
||||||
|
|
Loading…
Reference in a new issue