mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix python error:
UnboundLocalError: local variable 'elyxerfound' referenced before assignment git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37286 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1246a70abd
commit
3b90652edc
@ -647,6 +647,8 @@ def checkConverterEntries():
|
||||
rc_entry = [ r'\converter lyx wordhtml "%%" ""' ])
|
||||
if elyxer.find('elyxer') >= 0:
|
||||
elyxerfound = True
|
||||
else:
|
||||
elyxerfound = False
|
||||
|
||||
if elyxerfound:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
|
||||
|
Loading…
Reference in New Issue
Block a user