Fix bug in handling of ghostdriver log path.

- Legacy-Id: 12109
This commit is contained in:
Henrik Levkowetz 2016-10-08 20:29:09 +00:00
parent 2def9f9e67
commit 79e888a755

View file

@ -18,7 +18,7 @@ from ietf.settings_sqlitetest import * # we don't import from django
for dir in [ AGENDA_PATH, IDSUBMIT_REPOSITORY_PATH, IDSUBMIT_STAGING_PATH,
INTERNET_DRAFT_ARCHIVE_DIR, os.path.dirname(DRAFT_ALIASES_PATH), PHOTOS_DIR,
TEST_GHOSTDRIVER_LOG_PATH, ]:
os.path.dirname(os.path.abspath(TEST_GHOSTDRIVER_LOG_PATH)), ]:
if not os.path.exists(dir):
print("Creating %s" % dir)
os.makedirs(dir)