correct stupid bug in cache key
authorymh <ymh.work@gmail.com>
Tue, 13 Mar 2012 13:42:13 +0100
changeset 156 3d70078fe90a
parent 155 ba546ece29d5
child 157 e1d939a14037
correct stupid bug in cache key
web/hdalab/utils.py
--- a/web/hdalab/utils.py	Tue Mar 13 13:28:51 2012 +0100
+++ b/web/hdalab/utils.py	Tue Mar 13 13:42:13 2012 +0100
@@ -15,4 +15,4 @@
     cache_key = smart_str(cache_key)
     if len(cache_key) > (250-(2+len(cache.key_prefix)+len(str(cache.version)))-33):
         cache_key = cache_key[:(250-(2+len(cache.key_prefix)+len(str(cache.version)))-33)] + '-' + md5.new(cache_key).hexdigest()
-        return cache_key
\ No newline at end of file
+    return cache_key
\ No newline at end of file