mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix ticket PDF spec
open is not neccesarily OpenURI
This commit is contained in:
parent
f3a54ee82d
commit
b76102aa69
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class TicketPdf < Prawn::Document
|
|||
when 'http', 'ftp:' # CDNs
|
||||
begin
|
||||
open(@conference.picture.ticket.url)
|
||||
rescue OpenURI::HTTPError
|
||||
rescue OpenURI::HTTPError, Errno::ENOENT
|
||||
nil
|
||||
end
|
||||
when '/sys' # local storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue