Revert additional change in base.py

This commit is contained in:
Simran Soin 2020-07-23 10:47:22 -04:00
parent ef9af3730a
commit 6c7b4cf408

View File

@ -269,7 +269,7 @@ class SingleTextQueryBackend(RulenameCommentMixin, BaseBackend, QuoteCharMixin):
def generateNOTNode(self, node):
generated = self.generateNode(node.item)
if generated is not None:
return generated
return self.notToken + generated
else:
return None