Logger messages (#818)

* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
This commit is contained in:
Veronica Berglyd Olsen authored and GitHub committed 2021-07-02 10:22:00 +02:00
1 parent 671888b6ea
commit 1b89d0a4f0
20 files changed
+219 -219

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ class GuiDocSplit(QDialog):
srcItem.itemName, srcItem.itemClass, srcItem.itemParent
)
self.theParent.treeView.revealNewTreeItem(fHandle)
logger.verbose("Creating folder %s" % fHandle)
logger.verbose("Creating folder '%s'", fHandle)
# Loop through, and create the files
for wTitle, iStart, iEnd in finalOrder: