fix black formatting issues

This commit is contained in:
MinchinWeb 2020-04-07 09:49:34 -06:00
parent 6b8c6f81ad
commit 0c36b789e1
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: