mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-29 10:31:49 +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...
|
||||
if 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
|
||||
else:
|
||||
# .. or use the domain configuration directory otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user