Browse Source

Fix empty line in rofi

There was an unfortunate line break in the emoji list, so the first
entry was always empty. This should not happen anymore.
tags/1.3.0
Fabian Winter 2 years ago
parent
commit
b17d5afe0d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      extract_emojis.py

+ 1
- 1
extract_emojis.py View File

@@ -5,7 +5,7 @@ data = requests.get('https://emojipedia.org/emoji/') # type: requests.Response
soup = BeautifulSoup(data.content, 'lxml') # type: BeautifulSoup

python_file = open('emojis.py', 'w')
python_file.write('emojis="""\n')
python_file.write('emojis="""')

for table_row in soup.find_all('tr'):
emoji_row = table_row.find('td')

Loading…
Cancel
Save