diff --git a/src/mio.py b/src/mio.py index b8be77f2f5170b944b71ae7ffc338eb0e3cd665f..4c89f2ac080385b1d652c842a929d877e161ebba 100755 --- a/src/mio.py +++ b/src/mio.py @@ -325,7 +325,9 @@ if __name__ == '__main__': s.value[0])) pass for f in tree._file_: - src = os.path.normpath('%s/%s' % (f._parent._parent.files[0], + if f.delete[0] == 'yes' or f.source[0] == '': + continue + src = os.path.normpath('%s/%s' % (f.files[0:], f.source[0] or f.name[0])) print('%s[f] %s = %s' % (' '*(indent+1), f.name[0], src)) pass