Skip to content

Commit

Permalink
fixed incomplete path that contains a bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
Deathseyes committed Oct 19, 2018
1 parent 6bc215f commit fcc9c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion si4project_filelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

elif projectfilename.endswith('.uvproj') or projectfilename.endswith('.uvprojx'):
for line in parsefile.readlines():
m = re.search(r"^F \(.*?\)|^I \(.*?\)", line)
m = re.search(r"^F \(.*?\)(?=\([\dxa-fA-F]{10}\))|^I \(.*?\)(?=\([\dxa-fA-F]{10}\))", line)
if None != m:
relpath = m.group(0)[3:-1]
si4filelist.append(os.path.abspath(relpath)+'\n')
Expand Down

0 comments on commit fcc9c07

Please sign in to comment.