[ALL] Centralize quote removal

This commit is contained in:
Matt Nadareski
2016-06-13 10:37:44 -07:00
parent a9ed019b1e
commit 36f24e68b7
8 changed files with 25 additions and 51 deletions

View File

@@ -554,7 +554,7 @@ namespace SabreTools
{
version = temparg.Split('=')[1];
}
else if (File.Exists(temparg.Replace("\"", "")) || Directory.Exists(temparg.Replace("\"", "")))
else if (File.Exists(temparg) || Directory.Exists(temparg))
{
inputs.Add(arg);
}