Cleaned up xpath generation

This commit is contained in:
Maxim Stewart 2020-04-11 14:30:17 -05:00
parent 86bb7aaab2
commit 3b0771d2b4
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class ControlerMixin:
queryCount += 1
if len(attribLst) > 0:
if len(attribLst) > 1:
xpathStr += " and ".join(attribLst)
else:
xpathStr += attribLst[0]