Drop using formatting a few places where it isn't necessary

This commit is contained in:
Veronica K. B. Olsen
2020-10-23 20:56:44 +02:00
parent 170c2dc19c
commit 8db7c17798
4 changed files with 19 additions and 16 deletions
+6 -2
View File
@@ -383,11 +383,15 @@ class GuiWritingStats(QDialog):
# Report to user
if wSuccess:
self.theParent.makeAlert(
f"{textFmt} file successfully written to:<br>{savePath}", nwAlert.INFO
"%s file successfully written to:<br>%s" % (
textFmt, savePath
), nwAlert.INFO
)
else:
self.theParent.makeAlert(
f"Failed to write {textFmt} file.<br>{errMsg}", nwAlert.ERROR
"Failed to write %s file.<br>%s" % (
textFmt, errMsg
), nwAlert.ERROR
)
return True