Fix long lines

This commit is contained in:
Alex Ling
2020-05-05 05:45:20 +00:00
parent c3608c101b
commit 049bd3ab2c
5 changed files with 11 additions and 6 deletions

View File

@@ -141,7 +141,8 @@ module MangaDex
end
def initialize
@base_url = Config.current.mangadex["api_url"].to_s || "https://mangadex.org/api/"
@base_url = Config.current.mangadex["api_url"].to_s ||
"https://mangadex.org/api/"
@lang = {} of String => String
CSV.each_row {{read_file "src/assets/lang_codes.csv"}} do |row|
@lang[row[1]] = row[0]