Skip to content

Commit

Permalink
Fix capitalize at fraction name
Browse files Browse the repository at this point in the history
  • Loading branch information
beastie87 committed Sep 12, 2019
1 parent caa5f21 commit a6f6550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def faction_name_to_id(name)
if faction = @factions.find { |f| f["faction"].capitalize.include? name.capitalize }
faction["faction_id"]
else
raise "Faction ID not found for: #{name}"
raise "Faction ID not found for: #{name.capitalize}"
end
end

Expand Down

0 comments on commit a6f6550

Please sign in to comment.