mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Windows: wraps lines at 79 chars by default
trying to wrap lines at 80 char in Windows' CMD results in blank lines following lines that are exactly 80 char long
This commit is contained in:
parent
e176e1145b
commit
79a8b59e6f
2 changed files with 5 additions and 2 deletions
|
@ -134,7 +134,7 @@ class Journal(object):
|
|||
line = line.strip()
|
||||
new_date = datetime.strptime(line[:date_length], self.config['timeformat'])
|
||||
|
||||
# parsing successfull => save old entry and create new one
|
||||
# parsing successful => save old entry and create new one
|
||||
if new_date and current_entry:
|
||||
entries.append(current_entry)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue