fix setting name
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Mar 2010 17:09:04 +0000 (17:09 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Mar 2010 17:09:04 +0000 (17:09 +0000)
PLC/API.py

index 55a0349..dec2e08 100644 (file)
@@ -132,7 +132,7 @@ class PLCAPI:
         # Aspects modify the API injecting code before/after method
         # calls. As of now we only have aspects for OMF integration,
         # that's why we enable aspects only if PLC_OMF is set to true.
-        if self.config.PLC_OMF:
+        if self.config.PLC_OMF_ENABLED:
             from aspects import apply_aspects; apply_aspects()