From dafaf6aec67a8a971a7b1c5ef7f776bfd4b34f49 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 3 Mar 2019 20:03:43 +0100 Subject: [PATCH] Returnstatement now also returns the parent folder that image is saved to. --- processor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/processor.py b/processor.py index f186e03..62ddb1e 100644 --- a/processor.py +++ b/processor.py @@ -41,6 +41,7 @@ def processImage(file, outputPath=None): return { 'filename': '.'.join([fileID, OUTPUT_EXTENSION]), + 'folder': outputPath, 'variations': list(map(lambda vairation: vairation['name'], OUTPUT_SIZES)) }