Skip to content

Commit

Permalink
Merge pull request #379 from whiteleaf7/fix-update-gl
Browse files Browse the repository at this point in the history
Fix update gl
  • Loading branch information
whiteleaf7 committed Jan 23, 2021
2 parents f03d62c + 49624fb commit 59aec08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
更新履歴 - ChangeLog
====================

3.7.1: 2021/xx/xx
-----------------
#### 修正内容
- その他の小説の最新話掲載日を確認しようとするとクラッシュする不具合を修正


3.7.0: 2021/01/23
-----------------
#### 修正内容
Expand Down
3 changes: 2 additions & 1 deletion lib/command/update/general_lastup_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Copyright 2013 whiteleaf. All rights reserved.
#

require "net/http"
require_relative "../../narou/api"

module Command
Expand Down Expand Up @@ -63,7 +64,7 @@ def update_other_novels
interval.wait
begin
downloader = Downloader.new(id)
next unless downloader.get_latest_table_of_contents(through_error: true)
next unless downloader.get_latest_table_of_contents(downloader.load_toc_file, through_error: true)
dates = {
"novelupdated_at" => downloader.get_novelupdated_at,
"general_lastup" => downloader.get_general_lastup,
Expand Down

0 comments on commit 59aec08

Please sign in to comment.