Skip to content

Commit

Permalink
Apply black to download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Feb 1, 2024
1 parent d9e51f3 commit b801a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdown/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_filename_from_response(res):
filename = m.groups()[0]
return filename.replace(osp.sep, "_")

m = re.search("attachment; filename=\"(.*?)\"", content_disposition)
m = re.search('attachment; filename="(.*?)"', content_disposition)
if m:
filename = m.groups()[0]
return filename
Expand Down

0 comments on commit b801a9d

Please sign in to comment.