Skip to content

Commit

Permalink
Fix for api returning " in string bot working in plotly definitions. …
Browse files Browse the repository at this point in the history
…Filtered out garbage data from boss name
  • Loading branch information
Aaron Bradford committed Apr 13, 2018
1 parent e399d7b commit 2eb24aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions LuckParser/Controllers/Controller1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2357,6 +2357,7 @@ public void CreatePlayerTab(StreamWriter sw) {
{
dur = cl.getActDur() / 1000f;
}
skillName =skillName.Replace("\"", "");
sw.WriteLine("{" +
"y: ['1.5']," +
"x: ['" + dur + "']," +
Expand Down
2 changes: 1 addition & 1 deletion LuckParser/LuckParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProjectGuid>{6135677E-6C0E-42DE-925E-1995E52E5AC5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>LuckParser</RootNamespace>
<AssemblyName>Guild Wars 2 Elite Insights</AssemblyName>
<AssemblyName>GuildWars2EliteInsights</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand Down
1 change: 1 addition & 0 deletions LuckParser/Models/ParseModels/BossData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public int getID()

public String getName()
{
name = name.Replace("\0", "");
return name;
}

Expand Down

0 comments on commit 2eb24aa

Please sign in to comment.