lib/command/update.rb in narou-1.1.1 vs lib/command/update.rb in narou-1.1.2
- old
+ new
@@ -1,6 +1,6 @@
-# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
#
# Copyright 2013 whiteleaf. All rights reserved.
#
require_relative "../database"
@@ -44,10 +44,10 @@
end
update_target_list.each_with_index do |target, i|
display_message = nil
data = Downloader.get_data_by_target(target)
if !data
- display_message = "#{target} は管理小説の中に存在しません"
+ display_message = "<red>[ERROR]</red> #{target} は管理小説の中に存在しません".termcolor
elsif Narou.novel_frozen?(target)
if argv.length > 0
display_message = "#{data["title"]} は凍結中です"
else
next