Fix bug, function should return a two tuple

svn: r14371
This commit is contained in:
Benny Malengier 2010-02-14 20:41:11 +00:00
parent 862e2f49ec
commit b6f85080cf

View File

@ -6097,7 +6097,7 @@ def alphabet_navigation(menu_set, alphakey):
# if no letters or words, return None to its callers # if no letters or words, return None to its callers
if not sorted_alpha_index: if not sorted_alpha_index:
return None return None, None
num_ltrs = len(sorted_alpha_index) num_ltrs = len(sorted_alpha_index)
num_of_cols = 34 if alphakey is not _ALPHAEVENT else 10 num_of_cols = 34 if alphakey is not _ALPHAEVENT else 10