X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fserver%2Fsfaapi.py;h=845ccffe06ad6a87b0333325c196731c4bbfe8bf;hp=b0e9330791c3b6a0faffa0e03a59a700f13ffbc0;hb=ac8ec612da42acae82de032057c39068f87c5409;hpb=4cffbe34fbfb97b47e87b67fea47efbf60dade3b diff --git a/sfa/server/sfaapi.py b/sfa/server/sfaapi.py index b0e93307..845ccffe 100644 --- a/sfa/server/sfaapi.py +++ b/sfa/server/sfaapi.py @@ -245,8 +245,8 @@ class SfaApi (XmlrpcApi): response """ if self.interface.lower() == 'aggregate': - if hasattr(self.config, 'SFA_AM_API_VERSION') and \ - self.config.SFA_AM_API_VERSION == "2": + if hasattr(self.config, 'SFA_AGGREGATE_API_VERSION') and \ + self.config.SFA_AGGREGATE_API_VERSION == "2": result = self.prepare_response_v2_am(result) return XmlrpcApi.prepare_response(self, result, method)