From 3b90652edcdb6599b1ef3c19db8b6740fdafab8c Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 21 Jan 2011 18:23:32 +0000 Subject: [PATCH] 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 --- lib/configure.py | 2 ++ 1 file changed, 2 insertions(+) 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"''')