Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
Remove raw literal
Browse files Browse the repository at this point in the history
bhavika committed Feb 20, 2020
1 parent 58cdc77 commit 2b6acf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion untiler/scripts/tile_utils.py
Original file line number Diff line number Diff line change
@@ -148,7 +148,7 @@ def parse_template(template):
if len(separator) != 2 or separator[0] != separator[1]:
raise ValueError('Too many / not matching separators!')

return valPattern.sub(r"\d+", template), valPattern.sub(r"%s", template), separator[0]
return valPattern.sub(r"\d+", template), valPattern.sub("%s", template), separator[0]
else:
raise ValueError('Invalid template "%s"' % (template))

0 comments on commit 2b6acf8

Please sign in to comment.