refactor: uppercase constants
This commit is contained in:
@@ -468,7 +468,7 @@ function serialize_chapter_ranges(normalized_chapters)
|
||||
if next_chapter or not meta.requires_next_chapter then
|
||||
ranges[#ranges + 1] = table_assign({
|
||||
start = chapter.time,
|
||||
['end'] = next_chapter and next_chapter.time or infinity,
|
||||
['end'] = next_chapter and next_chapter.time or INFINITY,
|
||||
}, config.chapter_ranges[meta.name])
|
||||
end
|
||||
end
|
||||
@@ -497,7 +497,7 @@ function serialize_chapter_ranges(normalized_chapters)
|
||||
local next_chapter = chapters[i + 1]
|
||||
ranges[#ranges + 1] = table_assign({
|
||||
start = chapter.time,
|
||||
['end'] = next_chapter and next_chapter.time or infinity,
|
||||
['end'] = next_chapter and next_chapter.time or INFINITY,
|
||||
}, config.chapter_ranges.ads)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user