comparison piecrust/processing/compressors.py @ 339:0ab712eab0fb

cleancss: Fix stupid bug.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 06 Apr 2015 20:01:50 -0700
parents d1490028e211
children f070a4fc033c
comparison
equal deleted inserted replaced
338:938be93215cb 339:0ab712eab0fb
31 out_name = self.getOutputFilenames(in_name)[0] 31 out_name = self.getOutputFilenames(in_name)[0]
32 out_path = os.path.join(out_dir, out_name) 32 out_path = os.path.join(out_dir, out_name)
33 33
34 args = [self._conf['bin'], '-o', out_path] 34 args = [self._conf['bin'], '-o', out_path]
35 args += self._conf['options'] 35 args += self._conf['options']
36 args.append(in_path) 36 args.append(path)
37 logger.debug("Cleaning CSS file: %s" % args) 37 logger.debug("Cleaning CSS file: %s" % args)
38 38
39 # On Windows, we need to run the process in a shell environment 39 # On Windows, we need to run the process in a shell environment
40 # otherwise it looks like `PATH` isn't taken into account. 40 # otherwise it looks like `PATH` isn't taken into account.
41 shell = (platform.system() == 'Windows') 41 shell = (platform.system() == 'Windows')