 
 # Initialize logging
 Log = require 'log-color-optionaldate'
-logSettings = 
+logSettings =
   level: 'debug'
   color: true
   date: false

# @param [Object] image the image to grab
grab = (image) ->
  path = './' + config.directory + '/' + image.destination
  log.info 'Installing image with ID ' \ 
    + image.id \
    + ' at resolution \'' \
    + humanResolutions[image.resolution] \

# Persists the currently loaded configuration settings
#
persistConfig = () ->
  options =
    spaces: 4
  jsonfile.writeFileSync './picksel.json', config, options

