mirror of https://gitlab.com/bashrc2/epicyon
Line counter
parent
0fc08f34d9
commit
733041013e
|
@ -1693,7 +1693,7 @@ def html_common_emoji(base_dir: str, no_of_emoji: int) -> str:
|
||||||
ctr = 0
|
ctr = 0
|
||||||
html_str = ''
|
html_str = ''
|
||||||
while ctr < no_of_emoji and line_ctr < len(common_emoji):
|
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'
|
emoji_filename = base_dir + '/emoji/' + emoji_name + '.png'
|
||||||
if os.path.isfile(emoji_filename):
|
if os.path.isfile(emoji_filename):
|
||||||
# NOTE: deliberately no alt text, so that without graphics only
|
# NOTE: deliberately no alt text, so that without graphics only
|
||||||
|
|
Loading…
Reference in New Issue