Remove alignments in arguments for format statements

This commit is contained in:
Veronica Berglyd Olsen
2021-06-25 23:20:15 +02:00
parent e1dcfaa1e3
commit 0575f89ae9
11 changed files with 65 additions and 68 deletions
+3 -3
View File
@@ -677,9 +677,9 @@ class NWProject():
with open(tempFile, mode="wb") as outFile:
outFile.write(etree.tostring(
nwXML,
pretty_print = True,
encoding = "utf-8",
xml_declaration = True
pretty_print=True,
encoding="utf-8",
xml_declaration=True
))
except Exception as e:
self.makeAlert([
+3 -3
View File
@@ -291,9 +291,9 @@ class ToHtml(Tokenizer):
"</body>\n"
"</html>\n"
).format(
projTitle = self.theProject.projName,
htmlStyle = "\n".join(theStyle),
bodyText = bodyText,
projTitle=self.theProject.projName,
htmlStyle="\n".join(theStyle),
bodyText=bodyText,
)
outFile.write(theHtml)
+3 -3
View File
@@ -450,9 +450,9 @@ class ToOdt(Tokenizer):
with open(savePath, mode="wb") as outFile:
outFile.write(etree.tostring(
self._dFlat,
pretty_print = True,
encoding = "utf-8",
xml_declaration = True
pretty_print=True,
encoding="utf-8",
xml_declaration=True
))
return