basyx commited on
Commit
b67d068
·
verified ·
1 Parent(s): 446f972

Remove stale filename regex reference after syntax fix

Browse files
Files changed (1) hide show
  1. app/services/downloader.py +0 -2
app/services/downloader.py CHANGED
@@ -164,8 +164,6 @@ class Downloader:
164
  return unquote(extended.group(1).strip().strip('"'))
165
  if ordinary:
166
  return unquote((ordinary.group(1) or ordinary.group(2) or "").strip())
167
- if match:
168
- return unquote(match.group(1).strip())
169
  path_name = Path(unquote(urlparse(url).path)).name
170
  return path_name or "download.bin"
171
 
 
164
  return unquote(extended.group(1).strip().strip('"'))
165
  if ordinary:
166
  return unquote((ordinary.group(1) or ordinary.group(2) or "").strip())
 
 
167
  path_name = Path(unquote(urlparse(url).path)).name
168
  return path_name or "download.bin"
169