This one was hard to find, replace in structure conversions now works :)

This commit is contained in:
Ozbolt Menegatti 2020-04-22 15:11:35 +02:00
parent c83f8268d1
commit c4938b5785

View File

@ -37,8 +37,8 @@ def convert_structure(structure):
for vmatch, vfrom, vto in structure_conversions:
if vmatch.test(structure):
# for some reason some times this fails to do correct replacement, but this helps #FML
# structure += " "
# we need to remove replace alias here as we want to use javascript's one
__pragma__('noalias', 'replace')
return structure.replace(vfrom, vto).strip()
return None