Skip to content

Commit

Permalink
[Cocoa] Fix upload of files with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Oct 6, 2023
1 parent 63a713a commit 79b5fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webview/platforms/cocoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def webView_runOpenPanelWithParameters_initiatedByFrame_completionHandler_(
handler.__block_signature__ = BrowserView.pyobjc_method_signature(b'v@@')

if files:
urls = [Foundation.NSURL.fileURLWithPath_(BrowserView.quote(i)) for i in files]
urls = [Foundation.NSURL.fileURLWithPath_(i) for i in files]
handler(urls)
else:
handler(nil)
Expand Down

0 comments on commit 79b5fd0

Please sign in to comment.