Skip to content

Commit 3fed71f

Browse files
authored
fix: SyntaxWarning on regular expr
1 parent 067554a commit 3fed71f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eoxserver/resources/coverages/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ def product_register(request):
137137
'text/html',
138138
)
139139
_add_metadata(
140-
product, zipfile, 'thumbnail\.(png|jpeg|jpg)', 'thumbnail'
140+
product, zipfile, r'thumbnail\.(png|jpeg|jpg)', 'thumbnail'
141141
)
142142
_add_metadata(
143-
product, zipfile, 'metadata\.xml', 'description', 'text/xml'
143+
product, zipfile, r'metadata\.xml', 'description', 'text/xml'
144144
)
145145

146146
granules = []

0 commit comments

Comments
 (0)