Update code to reflect change in config file.
The configuration now seperates the output path and filename into seperate componentants.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
using (var output = new PdfDocument())
|
||||
{
|
||||
if (ConfigurationManager.AppSettings["overwrite"] == "true")
|
||||
if (ConfigurationManager.AppSettings["overwrite"] == true.ToString())
|
||||
{
|
||||
if (File.Exists(outputPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user