Fix invalid is_fuzzy logic condition

This commit is contained in:
Joshua Boniface 2020-01-07 11:45:45 -05:00
parent 0fca10de4a
commit 65e3d153cb
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ def delete_script(name):
# #
def list_profile(limit, is_fuzzy=True): def list_profile(limit, is_fuzzy=True):
if limit: if limit:
if not is_fuzzy: if is_fuzzy:
# Handle fuzzy vs. non-fuzzy limits # Handle fuzzy vs. non-fuzzy limits
if not re.match('\^.*', limit): if not re.match('\^.*', limit):
limit = '%' + limit limit = '%' + limit