diff options
-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 |