Reformat statement

This commit is contained in:
Veronica Berglyd Olsen
2024-02-28 12:35:00 +01:00
parent 2a2b12f0a5
commit 29e83da077
+2 -3
View File
@@ -829,9 +829,8 @@ class Tokenizer(ABC):
elif tType == self.T_KEYWORD and self._doKeywords: elif tType == self.T_KEYWORD and self._doKeywords:
valid, bits, _ = self._project.index.scanThis("@"+tText) valid, bits, _ = self._project.index.scanThis("@"+tText)
if valid and bits: if valid and bits:
text = "{0}: {1}".format( key = self._localLookup(nwLabels.KEY_NAME[bits[0]])
self._localLookup(nwLabels.KEY_NAME[bits[0]]), ", ".join(bits[1:]) text = "{0}: {1}".format(key, ", ".join(bits[1:]))
)
allWords += len(text.split()) allWords += len(text.split())
allChars += len(text) allChars += len(text)