lyx_2_0.py: fix Python error due to uninitialized variable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34447 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-05-22 01:15:50 +00:00
parent 106d31cd67
commit d4d073c667

View File

@ -1081,6 +1081,7 @@ def revert_mhchem(document):
i = 0
j = 0
k = 0
mhchem = "off"
i = find_token(document.header, "\\use_mhchem 1", 0)
if i != -1:
mhchem = "auto"