[cubicweb/pyramid] fix watch
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 29 Nov 2016 16:29:55 +0100
changeset 97 970912575cb2
parent 96 8de2262bdd08
child 98 fa2bd89a7e61
[cubicweb/pyramid] fix watch
cubicweb/pyramid/init.sls
--- a/cubicweb/pyramid/init.sls	Tue Nov 29 16:28:26 2016 +0100
+++ b/cubicweb/pyramid/init.sls	Tue Nov 29 16:29:55 2016 +0100
@@ -11,7 +11,7 @@
     - context:
         config: {{ config }}
         name: {{ name }}
-    {% if 'cwapp_uwsgi_options' in config %}
+    {% if 'cwapp_uwsgi_options' in config.keys() %}
     - watch:
         - service: uwsgi
     {% endif %}