Update installation after removal of default folder config

Signed-off-by: Aniket Pant <me@aniketpant.com>
This commit is contained in:
Aniket Pant 2013-06-26 13:08:29 +05:30
parent ae01072197
commit d4a97f873c

View file

@ -32,7 +32,6 @@ default_config = {
'tagsymbols': '@', 'tagsymbols': '@',
'highlight': True, 'highlight': True,
'linewrap': 80, 'linewrap': 80,
'folder': os.path.expanduser("~/journal/"),
} }
@ -94,8 +93,3 @@ def install_jrnl(config_path='~/.jrnl_config'):
if password: if password:
config['password'] = password config['password'] = password
return config return config
# Where to export files?
path_query = 'Path to your journal folder (leave blank for ~/journal): '
folder_path = raw_input(path_query).strip() or os.path.expanduser('~/journal')
default_config['folder'] = os.path.expanduser(folder_path)