Skip to content

Commit ead8c84

Browse files
authored
globals.py: set instead of list for safe_file_exts
1 parent 2852d18 commit ead8c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pywebcopy/globals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _cache_wrapper(self, caller, *args, **kwargs):
162162
])
163163
"""Attributes which contains multiple links."""
164164

165-
safe_file_exts = [
165+
safe_file_exts = {
166166
'.html',
167167
'.php',
168168
'.asp',
@@ -186,7 +186,7 @@ def _cache_wrapper(self, caller, *args, **kwargs):
186186
'.woff',
187187
'.woff2',
188188
'.pwcf', #: Default file extension
189-
]
189+
}
190190

191191
safe_http_headers = {
192192
"Accept-Language": "en-US,en;q=0.9",

0 commit comments

Comments
 (0)