web/views/staticcontrollers.py
changeset 10671 e08102f45237
parent 10522 1660a0fa4f43
child 10694 7ece2df9cc5c
--- a/web/views/staticcontrollers.py	Thu Oct 01 11:40:23 2015 +0200
+++ b/web/views/staticcontrollers.py	Tue Oct 13 16:57:09 2015 +0200
@@ -140,7 +140,7 @@
         """return the filepath that will be used to cache concatenation of `paths`
         """
         _, ext = osp.splitext(paths[0])
-        fname = 'cache_concat_' + hashlib.md5(';'.join(paths)).hexdigest() + ext
+        fname = 'cache_concat_' + hashlib.md5((';'.join(paths)).encode('ascii')).hexdigest() + ext
         return osp.join(self.config.appdatahome, 'uicache', fname)
 
     def concat_cached_filepath(self, paths):