mirror of
https://github.com/moepman/acertmgr.git
synced 2025-01-01 04:21:51 +01:00
configuration: use legacy workdir with legacy configuration only
This commit is contained in:
parent
6440ef204a
commit
a93b047275
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user