Skip to content

Commit

Permalink
corrects bug when no format is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Nov 5, 2016
1 parent 2ca6def commit bcd6476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config_blast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def reload_config(config_path = nil)
logger.info 'Loads user configuration:'
logger.info " #{config_path}"
user_hash = YAML.load_file(@store.config.user)
unless user_hash['format']['specifiers'].nil?
if !user_hash['format'].nil? && !user_hash['format']['specifiers'].nil?
@store.format.specifiers = Configatron::Store.new(@store)
end
@store.configure_from_hash(user_hash)
Expand Down

0 comments on commit bcd6476

Please sign in to comment.