8000 chore(): make it py3 compatible · Pix4D/python-openapi-codec@6dbe6b3 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 6dbe6b3

Browse files
committed
chore(): make it py3 compatible
1 parent 1e8878b commit 6dbe6b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_codec/encode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _get_links(document):
4949

5050
# gbataille. Based on our specific URL pattern
5151
endpoint = "/".join(keys)
52-
m = re.match(ur'.*api/(v\d+)/(.*?)/.*', endpoint)
52+
m = re.match(r'.*api/(v\d+)/(.*?)/.*', endpoint)
5353
if m:
5454
tags = ["%s-%s" % (m.group(1), m.group(2))]
5555
else:

0 commit comments

Comments
 (0)
0