Nope cache clear is not working... V00.02.03
authorymh <ymh.work@gmail.com>
Wed, 15 Apr 2015 04:07:31 +0200
changeset 119 abeea2131bd5
parent 118 376e232f54dd
child 120 455be5fd93b5
Nope cache clear is not working...
src/catedit/tasks.py
--- a/src/catedit/tasks.py	Wed Apr 15 04:04:07 2015 +0200
+++ b/src/catedit/tasks.py	Wed Apr 15 04:07:31 2015 +0200
@@ -27,8 +27,8 @@
                 message=message
             )
             registry_key = "categories_"+repository+"_keys"
-            r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key)
-            #r = requests.post(app.config['BASE_URL']+"/meta/cache-clear")
+            #r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key)
+            r = requests.post(app.config['BASE_URL']+"/meta/cache-clear")
             try:
                 r.raise_for_status()
             except: