Returnstatement now also returns the parent folder that image is saved to.

This commit is contained in:
2019-03-03 20:03:43 +01:00
parent 792237ac3e
commit dafaf6aec6

View File

@@ -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))
}