Update dir arg destinations in config handle

This commit is contained in:
lash 2022-05-14 12:39:47 +00:00
parent 6da2a1ced9
commit 63a1d07a28
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -2,8 +2,8 @@ def process_config(config, arg, args, flags):
args_override = {}
if arg.match('session', flags):
args_override['SESSION_ID'] = getattr(args, 'session_id')
args_override['SESSION_RUNTIME_DIR'] = getattr(args, 'runtime_dir')
args_override['SESSION_DATA_DIR'] = getattr(args, 'data_dir')
args_override['SESSION_RUNTIME_DIR'] = getattr(args, 'runtime_path')
args_override['SESSION_DATA_DIR'] = getattr(args, 'state_path')
if arg.match('socket', flags):
args_override['SESSION_SOCKET_PATH'] = getattr(args, 'socket')