lib/novelsetting.rb in narou-3.3.0 vs lib/novelsetting.rb in narou-3.3.1

- old
+ new

@@ -44,10 +44,10 @@ def initialize(target, ignore_force, ignore_default) if File.directory?(target.to_s) archive_path = target else - archive_path = Downloader.get_novel_data_dir_by_target(target).to_s + archive_path = Downloader.get_novel_data_dir_by_target(target) || "" end @archive_path = File.expand_path(archive_path) @ignore_force = ignore_force @ignore_default = ignore_default @replace_pattern = []