commit | e4b157e7877ac6a3be9a73ec69ed3e5962ddac9b | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Tue Nov 20 13:52:40 2012 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Tue Nov 20 13:52:40 2012 +0530 |
tree | 54a9f3a2d6b8c261539621921feeab36495abc86 | |
parent | f41f76b9f94e8491a96dbb9185c4590bc0aa226e [diff] |
fix in deletion of web cache
diff --git a/website/web_cache.py b/website/web_cache.py index cde5217..5e09e12 100644 --- a/website/web_cache.py +++ b/website/web_cache.py
@@ -235,7 +235,7 @@ * blog is un-published """ import webnotes - webnotes.conn.sql("""delete from `tabWeb Cache` where name=%s""", page_name) + webnotes.conn.sql("""delete from `tabWeb Cache` where name=%s""", (page_name,)) def refresh_cache(build=None): """delete and re-create web cache entries"""