]> git.lyx.org Git - features.git/commitdiff
Fix python error:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 21 Jan 2011 18:23:32 +0000 (18:23 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 21 Jan 2011 18:23:32 +0000 (18:23 +0000)
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

index 60f26efa86a63ddeec2d6a7268737d967889911d..53c735b24528a8ea7c8a9dc64d00a4452e22ef3a 100644 (file)
@@ -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"''')