mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 06:43:24 +03:00
Use %20 for spaces in filename URLs.
This commit is contained in:
parent
0c3cdb6108
commit
21cd0c48f2
@ -23,7 +23,7 @@ def vimr(action, args=None, dry_run=False):
|
||||
if files:
|
||||
query_params["file"] = [os.path.abspath(f) for f in files]
|
||||
|
||||
url = "vimr://{0}?{1}".format(action, urllib.urlencode(query_params, True))
|
||||
url = "vimr://{0}?{1}".format(action, urllib.urlencode(query_params, True).replace('+', '%20'))
|
||||
call_open(url, dry_run)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user