Match indentation

This commit is contained in:
Michael Mintz 2020-03-15 09:47:43 -04:00
parent a3c6db79ef
commit 40bf54152f
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ def _get_raw_css_from_xpath(xpath):
if match["mvalue"].find(" ") != -1:
match["mvalue"] = "\"%s\"" % match["mvalue"]
attr = '[%s="%s"]' % (match['mattr'].replace("@", ""),
match['mvalue'])
match['mvalue'])
elif match['contained']:
if match['cattr'].startswith("@"):
attr = '[%s*="%s"]' % (match['cattr'].replace("@", ""),