BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 14 locales supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
425 stars 24 forks source link

[EN] Fix en-labels.py script #2002

Closed BoboTiG closed 5 months ago

BoboTiG commented 8 months ago
Traceback (most recent call last):
  File "scripts/en-labels.py", line 238, in <module>
    results |= process_page(page_url, repl, stop_line, var_name, print_result=False)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "scripts/en-labels.py", line 100, in process_page
    exec(code, globals())
  File "<string>", line 9
    for i = 1, #data.labels - 1 do
    ^^^
SyntaxError: invalid syntax
lasconic commented 5 months ago

Should be fixed by https://github.com/BoboTiG/ebook-reader-dict/pull/2061