commit 63a1d07a283a1c013c09bf43328c8a3ebe513f8c
parent 6da2a1ced91b798f4cb3b8510f4d8b6835f31566
Author: lash <dev@holbrook.no>
Date: Sat, 14 May 2022 12:39:47 +0000
Update dir arg destinations in config handle
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chaind/cli/config.py b/chaind/cli/config.py
@@ -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')