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 6fff395701
commit bce370174b

View file

@ -32,7 +32,6 @@ default_config = {
'tagsymbols': '@',
'highlight': True,
'linewrap': 80,
'folder': os.path.expanduser("~/journal/"),
}
@ -94,8 +93,3 @@ def install_jrnl(config_path='~/.jrnl_config'):
if password:
config['password'] = password
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)