1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 19:14:03 +00:00

Fix lint error

This commit is contained in:
rinpatch 2018-11-27 19:07:58 +03:00
parent 7f20a3cf1f
commit 0d229613df

View file

@ -163,8 +163,9 @@ def get_content_type(file) do
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> -> <<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
case IO.binread(f, 27) do case IO.binread(f, 27) do
<<_::size(160), 0x80, 0x74,0x68,0x65,0x6f,0x72,0x61>> -> <<_::size(160), 0x80, 0x74, 0x68, 0x65, 0x6F, 0x72, 0x61>> ->
"video/ogg" "video/ogg"
_ -> _ ->
"audio/ogg" "audio/ogg"
end end