Skip to content
Permalink
Browse files

fix #1598 -- fix scale_images error reporting

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed Jan 23, 2015
1 parent c223700 commit 01a2ca9363e4674e295bd42c25caa34635f79661
Showing with 5 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +4 −0 nikola/plugins/task/scale_images.py
@@ -10,6 +10,7 @@ Features
Bugfixes
--------

* Report issues in scale_images properly (Issue #1598)
* Correctly read sub-timezones in ``nikola init`` (via Issue #1599)
* Fix zoneinfo reading in ``nikola init`` (Issue #1599)
* Fix ``.islink`` detection for galleries (via Issue #1536)
@@ -36,6 +36,10 @@ class ScaleImage(Task, ImageProcessor):

name = "scale_images"

def set_site(self, site):
self.logger = utils.get_logger('render_galleries', site.loghandlers)
return super(ScaleImage, self).set_site(site)

def process_tree(self, src, dst):
"""Processes all images in a src tree and put the (possibly) rescaled
images in the dst folder."""

0 comments on commit 01a2ca9

Please sign in to comment.
You can’t perform that action at this time.