mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 01:48:51 +00:00
Remove extra dot between [] from ambea copy-pasting.
This commit is contained in:
@@ -173,7 +173,7 @@ module Kemal
|
||||
return
|
||||
end
|
||||
|
||||
if @cached_files.sum(&.[1].[:data].bytesize) + (size = File.size(file_path)) < CACHE_LIMIT
|
||||
if @cached_files.sum(&.[1][:data].bytesize) + (size = File.size(file_path)) < CACHE_LIMIT
|
||||
data = Bytes.new(size)
|
||||
File.open(file_path) do |file|
|
||||
file.read(data)
|
||||
|
||||
Reference in New Issue
Block a user