This one was hard to find, replace in structure conversions now works :)
This commit is contained in:
parent
c83f8268d1
commit
c4938b5785
|
@ -37,8 +37,8 @@ def convert_structure(structure):
|
||||||
|
|
||||||
for vmatch, vfrom, vto in structure_conversions:
|
for vmatch, vfrom, vto in structure_conversions:
|
||||||
if vmatch.test(structure):
|
if vmatch.test(structure):
|
||||||
# for some reason some times this fails to do correct replacement, but this helps #FML
|
# we need to remove replace alias here as we want to use javascript's one
|
||||||
# structure += " "
|
__pragma__('noalias', 'replace')
|
||||||
return structure.replace(vfrom, vto).strip()
|
return structure.replace(vfrom, vto).strip()
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user