Skip to content

Commit 07b3df3

Browse files
author
Laurynas Butkus
committed
Add open-uri backwards compatibility
1 parent 1ac03fb commit 07b3df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/convert_api/result_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def size
2121
end
2222

2323
def io
24-
@io ||= URI.open(url, download_options)
24+
@io ||= URI.parse(url).open(download_options)
2525
end
2626

2727
def save(path)

0 commit comments

Comments
 (0)