Mercurial > piecrust2
diff piecrust/processing/less.py @ 7:343d08ef5668
More PieCrust 3 fixes, and a couple of miscellaneous bug fixes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 16 Aug 2014 15:07:22 -0700 |
parents | 474c9882decf |
children | de6a296744f7 |
line wrap: on
line diff
--- a/piecrust/processing/less.py Sat Aug 16 08:15:30 2014 -0700 +++ b/piecrust/processing/less.py Sat Aug 16 15:07:22 2014 -0700 @@ -71,7 +71,7 @@ "must be an array of arguments.") def _getMapPath(self, path): - map_name = "%s.map" % hashlib.md5(path).hexdigest() + map_name = "%s.map" % hashlib.md5(path.encode('utf8')).hexdigest() map_path = os.path.join(self._map_dir, map_name) return map_path