Fix invalid is_fuzzy logic condition
This commit is contained in:
parent
0fca10de4a
commit
65e3d153cb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue