Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 961ba5d

Browse files
committed
Fix filename containing %20
1 parent c584abd commit 961ba5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uget-chrome-wrapper/bin/uget-chrome-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def extract_file_name(url):
5757
if mime:
5858
fileName += guess_extension(mime)
5959
else:
60-
fileName = basename(urlparse(url).path)
60+
fileName = basename(urlparse(url).path).replace('%20', ' ')
6161

6262
return fileName
6363

0 commit comments

Comments
 (0)