lyx_2_2.py: add a safe guard

This commit is contained in:
Uwe Stöhr 2015-11-04 02:18:28 +01:00
parent 4933399507
commit 43a80ef7df

View File

@ -1997,6 +1997,9 @@ def convert_moderncv(document):
def revert_achemso(document):
" Reverts the flex inset Latin to TeX code "
if document.textclass != "achemso":
return
i = 0
j = 0
while True: