forked from midou/invidious
		
	Remove extra dot between [] from ambea copy-pasting.
This commit is contained in:
		@@ -149,7 +149,7 @@ def get_about_info(ucid, locale)
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
    tabs = tabs_json.reject { |node| node["tabRenderer"]?.nil? }.map(&.["tabRenderer"].["title"].as_s.downcase)
 | 
			
		||||
    tabs = tabs_json.reject { |node| node["tabRenderer"]?.nil? }.map(&.["tabRenderer"]["title"].as_s.downcase)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  sub_count = initdata["header"]["c4TabbedHeaderRenderer"]?.try &.["subscriberCountText"]?.try &.["simpleText"]?.try &.as_s?
 | 
			
		||||
 
 | 
			
		||||
@@ -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