mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 07:16:12 +02:00
Uses colorama instead of clint
This commit is contained in:
parent
f79f7cf849
commit
e0f7d235b1
5 changed files with 19 additions and 13 deletions
|
@ -77,8 +77,8 @@ def install_jrnl(config_path='~/.jrnl_config'):
|
|||
print("PyCrypto not found. To encrypt your journal, install the PyCrypto package from http://www.pycrypto.org and run 'jrnl --encrypt'. For now, your journal will be stored in plain text.")
|
||||
|
||||
# Use highlighting:
|
||||
if module_exists("clint"):
|
||||
print("clint not found. To turn on highlighting, install clint and set highlight to true in your .jrnl_conf.")
|
||||
if module_exists("colorama"):
|
||||
print("colorama not found. To turn on highlighting, install colorama and set highlight to true in your .jrnl_conf.")
|
||||
default_config['highlight'] = False
|
||||
|
||||
open(default_config['journals']['default'], 'a').close() # Touch to make sure it's there
|
||||
|
@ -91,4 +91,4 @@ def install_jrnl(config_path='~/.jrnl_config'):
|
|||
config['password'] = password
|
||||
return config
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue