From: Georg Baum Date: Fri, 21 Jan 2011 18:23:32 +0000 (+0000) Subject: Fix python error: X-Git-Tag: 2.0.0~1041 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3b90652edcdb6599b1ef3c19db8b6740fdafab8c;p=lyx.git 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 --- diff --git a/lib/configure.py b/lib/configure.py index 60f26efa86..53c735b245 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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"''')