<s> """<STR_LIT>""" <EOL> import logging <EOL> from sigal import signals <EOL> from pilkit . processors import Adjust <EOL> logger = logging . getLogger ( __name__ ) <EOL> def adjust ( img , settings = None ) : <EOL> logger . debug ( '<STR_LIT>' , img ) <EOL> return Adjust ( ** settings [ '<STR_LIT>' ] ) . process ( img ) <EOL> def register ( settings ) : <EOL> if settings . get ( '<STR_LIT>' ) : <EOL> signals . img_resized . connect ( adjust ) <EOL> else : <EOL> logger . warning ( '<STR_LIT>' ) </s>
