mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-21 13:38:31 +02:00
fix black formatting issues
This commit is contained in:
parent
6b8c6f81ad
commit
0c36b789e1
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ class MarkdownExporter(TextExporter):
|
|||
newbody = newbody + previous_line # add very last line
|
||||
|
||||
# make sure the export ends with a blank line
|
||||
if previous_line not in ['\r', '\n', '\r\n', '\n\r']:
|
||||
if previous_line not in ["\r", "\n", "\r\n", "\n\r"]:
|
||||
newbody = newbody + os.linesep
|
||||
|
||||
if warn_on_heading_level is True:
|
||||
|
|
|
@ -67,7 +67,7 @@ class YAMLExporter(TextExporter):
|
|||
newbody = newbody + previous_line # add very last line
|
||||
|
||||
# make sure the export ends with a blank line
|
||||
if previous_line not in ['\r', '\n', '\r\n', '\n\r']:
|
||||
if previous_line not in ["\r", "\n", "\r\n", "\n\r"]:
|
||||
newbody = newbody + os.linesep
|
||||
|
||||
if warn_on_heading_level is True:
|
||||
|
|
Loading…
Add table
Reference in a new issue