mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-09 09:06:12 +02:00
Mock stdin
This commit is contained in:
parent
e75c24c696
commit
13f8e668dc
5 changed files with 43 additions and 44 deletions
|
@ -149,8 +149,6 @@ def cli(manual_args=None):
|
|||
mode_compose, mode_export = guess_mode(args, config)
|
||||
|
||||
# open journal file or folder
|
||||
|
||||
|
||||
if os.path.isdir(config['journal']) and ( config['journal'].endswith(".dayone") or \
|
||||
config['journal'].endswith(".dayone/")):
|
||||
journal = Journal.DayOne(**config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue