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:
2024-08-05 14:32:13 -04:00
parent f85361ed27
commit 1d332927d6
5 changed files with 56 additions and 7 deletions

View File

@@ -14,7 +14,7 @@
using (var output = new PdfDocument())
{
if (ConfigurationManager.AppSettings["overwrite"] == "true")
if (ConfigurationManager.AppSettings["overwrite"] == true.ToString())
{
if (File.Exists(outputPath))
{