diff --git a/lslopt/lslfoldconst.py b/lslopt/lslfoldconst.py index fdabeea..70ff2b6 100644 --- a/lslopt/lslfoldconst.py +++ b/lslopt/lslfoldconst.py @@ -855,7 +855,7 @@ class foldconst(object): if 'SEF' not in child[idx]: issef = False if child[idx]['nt'] == ';' \ - or nt == '{}' and child[idx]['nt'] == '{}' and not child[idx]['ch']: + or child[idx]['nt'] == '{}' and not child[idx]['ch']: del child[idx] else: if 'StSw' in child[idx]: