bugfix: always return a list from find_near_matches()

This commit is contained in:
Tal Einat 2014-03-19 23:45:17 +02:00
parent 26f927dbec
commit 7148d3b0d5
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ def find_near_matches(subsequence, sequence,
# if none of the special cases above are met, use the most generic version:
# find_near_matches_generic_linear_programming()
else:
return find_near_matches_generic_linear_programming(
return list(find_near_matches_generic_linear_programming(
subsequence, sequence,
max_substitutions, max_insertions, max_deletions, max_l_dist,
)
))