mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
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:
parent
106d31cd67
commit
d4d073c667
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user