Line counter

merge-requests/30/head
Bob Mottram 2022-04-19 13:15:17 +01:00
parent 0fc08f34d9
commit 733041013e
1 changed files with 1 additions and 1 deletions

View File

@ -1693,7 +1693,7 @@ def html_common_emoji(base_dir: str, no_of_emoji: int) -> str:
ctr = 0
html_str = ''
while ctr < no_of_emoji and line_ctr < len(common_emoji):
emoji_name = common_emoji[ctr].split(' ')[1].replace('\n', '')
emoji_name = common_emoji[line_ctr].split(' ')[1].replace('\n', '')
emoji_filename = base_dir + '/emoji/' + emoji_name + '.png'
if os.path.isfile(emoji_filename):
# NOTE: deliberately no alt text, so that without graphics only