mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 16:59:31 -06:00
fixing issue with comics after uppercase format change
This commit is contained in:
@@ -101,11 +101,11 @@ public class ComicConverter: Node
|
||||
{
|
||||
string file = Path.Combine(args.TempPath, Guid.NewGuid().ToString() + "." + format);
|
||||
args.Logger?.ILog("Creating comic: " + file);
|
||||
if (format == "cbz")
|
||||
if (format == "CBZ")
|
||||
Helpers.ZipHelper.Compress(args, directory, file);
|
||||
//else if (format == "cb7")
|
||||
//else if (format == "CB7")
|
||||
// Helpers.SevenZipHelper.Compress(args, directory, file + ".7z");
|
||||
else if (format == "pdf")
|
||||
else if (format == "PDF")
|
||||
Helpers.PdfHelper.Create(args, directory, file);
|
||||
else
|
||||
throw new Exception("Unknown format:" + format);
|
||||
|
||||
Reference in New Issue
Block a user