1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-06-01 13:22:34 +02:00

configuration: use legacy workdir with legacy configuration only

This commit is contained in:
Kishi85 2019-03-19 02:04:31 +01:00
parent 6440ef204a
commit a93b047275

View File

@ -166,7 +166,7 @@ def load():
# Determine work directory... # Determine work directory...
if args.work_dir: if args.work_dir:
work_dir = args.work_dir work_dir = args.work_dir
elif os.path.isdir(LEGACY_WORK_DIR): elif os.path.isdir(LEGACY_WORK_DIR) and domain_config_dir == LEGACY_CONF_DIR:
work_dir = LEGACY_WORK_DIR work_dir = LEGACY_WORK_DIR
else: else:
# .. or use the domain configuration directory otherwise # .. or use the domain configuration directory otherwise