Installation modifies journals.default, not journal

This commit is contained in:
Manuel Ebert 2012-06-11 16:08:38 +02:00
parent 41c26d6115
commit 9439c294da

View file

@ -45,7 +45,7 @@ def install_jrnl(config_path='~/.jrnl_config'):
# Where to create the journal? # Where to create the journal?
path_query = 'Path to your journal file (leave blank for ~/journal.txt): ' path_query = 'Path to your journal file (leave blank for ~/journal.txt): '
journal_path = raw_input(path_query).strip() or os.path.expanduser('~/journal.txt') journal_path = raw_input(path_query).strip() or os.path.expanduser('~/journal.txt')
default_config['journal'] = os.path.expanduser(journal_path) default_config['journals']['default'] = os.path.expanduser(journal_path)
# Encrypt it? # Encrypt it?
if module_exists("Crypto"): if module_exists("Crypto"):