summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index a7648e9ca..6b37585ed 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -220,9 +220,9 @@ class INode:
else:
predicate = parent.predicate
if data.get('negate', 'false') == 'true':
- psrc = self.raw
- else:
psrc = self.nraw
+ else:
+ psrc = self.raw
if data.tag in psrc.keys():
self.predicate = eval(psrc[data.tag] % (data.get('name')),
{'predicate':predicate})