Skip to content

Commit 0fc7d54

Browse files
committed
Make sure to use raw strings for Windows-like paths.
Signed-off-by: Chris Lalancette <[email protected]>
1 parent 99dfdd7 commit 0fc7d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image_tools_py/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def run(self):
3939
with open(outfile, 'w') as outfp:
4040
for line in infp:
4141
for subst in substs:
42-
line = line.replace(subst, "'%s' # noqa" % (substs[subst]))
42+
line = line.replace(subst, "r'%s' # noqa" % (substs[subst]))
4343
outfp.write(line)
4444

4545
install_scripts.run(self)

0 commit comments

Comments
 (0)