Skip to content

Commit

Permalink
Removed unnecessary variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoering committed Aug 12, 2016
1 parent 29b6981 commit 53c55ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DiscordBot/SpellSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public string Search(string query)
private Dictionary<string, Spell> map()
{
JsonSerializer serializer = new JsonSerializer();
StreamReader file = File.OpenText(@"resources/spells.json");
using(var client = new WebClient()){
var json = client.DownloadString("https://raw.githubusercontent.com/tadzik/5e-spells/master/spells.json");
return JsonConvert.DeserializeObject<Dictionary<string, Spell>>(json);
Expand Down

0 comments on commit 53c55ed

Please sign in to comment.