From 0c36b789e1ed747d646ee6197ea8c54940587be5 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Tue, 7 Apr 2020 09:49:34 -0600 Subject: [PATCH] fix black formatting issues --- jrnl/plugins/markdown_exporter.py | 2 +- jrnl/plugins/yaml_exporter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrnl/plugins/markdown_exporter.py b/jrnl/plugins/markdown_exporter.py index 6902ec0f..394a8d33 100644 --- a/jrnl/plugins/markdown_exporter.py +++ b/jrnl/plugins/markdown_exporter.py @@ -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: diff --git a/jrnl/plugins/yaml_exporter.py b/jrnl/plugins/yaml_exporter.py index e2456e74..47f92263 100644 --- a/jrnl/plugins/yaml_exporter.py +++ b/jrnl/plugins/yaml_exporter.py @@ -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: