From b76f9b6c479d73206a6a29494b83d2b9c66b7a6a Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 25 Mar 2015 17:33:56 -0300 Subject: [bug] create directory in client db access script --- scripts/db_access/client_side_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/db_access/client_side_db.py b/scripts/db_access/client_side_db.py index a77b0b16..d7c54b66 100644 --- a/scripts/db_access/client_side_db.py +++ b/scripts/db_access/client_side_db.py @@ -171,6 +171,8 @@ def _get_basedir(args): basedir = args.basedir if basedir is None: basedir = tempfile.mkdtemp() + elif not os.path.isdir(basedir): + os.mkdir(basedir) logger.info('Using %s as base directory.' % basedir) return basedir -- cgit v1.2.3