diff options
author | Alec Murphy <alec@checksum.fail> | 2017-04-28 10:46:03 -0400 |
---|---|---|
committer | Alec Murphy <alec@checksum.fail> | 2017-04-28 10:46:03 -0400 |
commit | 23553bbae1579e1b296c87b55b194e1945c595cc (patch) | |
tree | 8c001726ec31101e4d9541ad9cdfa0a930a46496 | |
parent | dddede93cc68a5c96923dc7e4fdfff05b84a8ab6 (diff) |
Fixes #3
-rwxr-xr-x | isoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ def write_iso_c(self, iso_c_file): # Place files in corresponding dicts for d in sorted(dirs, reverse=True): for i in self.files: - if i.find(d) != -1 and i != d: + if i.find((d+"/").replace("//","/")) != -1 and i != d: if 'filename' not in self.files[i]: self.files[i]['filename'] = i.split('/')[len(i.split('/'))-1] self.files[i]['clus'] = 0 |