

def save_config(config=default_config, config_path=os.path.expanduser('~/.jrnl_conf')):
    with open(config_path, 'w') as f:
        json.dump(config, f, indent=2)

dataset/ETHPy150Open maebert/jrnl/jrnl/install.py save_config/original