Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit 5499871

Browse files
committed
Fix call to complex filter and usage of additionalOprands
1 parent 5dbff32 commit 5499871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FuelSDK/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def __init__(self, auth_stub):
150150

151151
def additionalOperandToSimpleFilter(self, operand):
152152
simpleFilter = self.auth_stub.soap_client.factory.create('SimpleFilterPart')
153-
for k, v in additional_operand.items():
153+
for k, v in operand.items():
154154
simpleFilter[k] = v
155155
return simpleFilter
156156

@@ -182,7 +182,7 @@ def simpleFilter(self, operand):
182182
def filterFor(self, operand):
183183
result = None
184184
if operand.has_key('LogicalOperator'):
185-
result = self.complexFilter(self.auth_stub,
185+
result = self.complexFilter(
186186
operand["LeftOperand"],
187187
operand["RightOperand"],
188188
operand["LogicalOperator"],

0 commit comments

Comments
 (0)