Lint: W605 invalid escape sequence '\$'

This commit is contained in:
2020-11-06 19:01:22 -05:00
parent 639937f9c2
commit 76b1cafdcc
5 changed files with 11 additions and 11 deletions

View File

@ -79,7 +79,7 @@ def list_ova(limit, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*\$', limit):
if not re.match('.*[$]', limit):
limit = limit + '%'
else:
limit = limit[:-1]