mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-19 16:53:16 +00:00
Merge tag 'v3.2.0rc2'
This commit is contained in:
commit
65c907a448
126 changed files with 1343 additions and 509 deletions
|
|
@ -17,7 +17,7 @@ module Mastodon
|
|||
end
|
||||
|
||||
def flags
|
||||
'rc1'
|
||||
'rc2'
|
||||
end
|
||||
|
||||
def suffix
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ module Paperclip
|
|||
@type_from_mime_magic ||= begin
|
||||
begin
|
||||
File.open(@file.path) do |file|
|
||||
MimeMagic.by_magic(file)&.type
|
||||
MimeMagic.by_magic(file)&.type || ''
|
||||
end
|
||||
rescue Errno::ENOENT
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue