mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Fixed indentation in composing part of __main__
This commit is contained in:
parent
b2924168a9
commit
fe51f33981
1 changed files with 4 additions and 3 deletions
7
jrnl.py
7
jrnl.py
|
@ -210,9 +210,10 @@ if __name__ == "__main__":
|
|||
if compose:
|
||||
if not args.text:
|
||||
args.text = [raw_input("Compose Entry: ")]
|
||||
raw = " ".join(args.text).strip()
|
||||
journal.new_entry(raw, args.date)
|
||||
journal.write()
|
||||
raw = " ".join(args.text).strip()
|
||||
journal.new_entry(raw, args.date)
|
||||
print journal
|
||||
journal.write()
|
||||
|
||||
else: # read mode
|
||||
journal.filter(tags=args.text, start_date=args.start_date, end_date=args.end_date)
|
||||
|
|
Loading…
Add table
Reference in a new issue