Update code style to new standard

This commit is contained in:
Veronica Berglyd Olsen
2021-07-05 16:28:44 +02:00
parent 36be7b0b33
commit 9f667a0b35
3 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -748,7 +748,7 @@ class GuiDocEditor(QTextEdit):
logger.error("Not a document action")
return False
logger.verbose("Requesting action: %s" % theAction.name)
logger.verbose("Requesting action: %s", theAction.name)
self._allowAutoReplace(False)
if theAction == nwDocAction.UNDO:
@@ -1722,10 +1722,10 @@ class GuiDocEditor(QTextEdit):
return False
if loadTag:
logger.verbose("Attempting to follow tag '%s'" % theWord)
logger.verbose("Attempting to follow tag '%s'", theWord)
self.theParent.docViewer.loadFromTag(theWord)
else:
logger.verbose("Potential tag '%s'" % theWord)
logger.verbose("Potential tag '%s'", theWord)
return True