Skip to content

Commit

Permalink
Merge pull request #19 from agriffis/py26
Browse files Browse the repository at this point in the history
Avoid dict comprehension syntax for Python 2.6 compatibility.
  • Loading branch information
Evan Chen committed Dec 12, 2014
2 parents dfd5acb + fd386bb commit c86f0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebookads/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ def reserve(
self.Field.action: self.Action.reserve,
}
# Filter out None values.
params = {k: v for (k, v) in params.items() if v is not None}
params = dict((k, v) for k, v in params.items() if v is not None)

response = self.get_api_assured().call(
FacebookAdsApi.HTTP_METHOD_POST,
Expand Down

0 comments on commit c86f0ac

Please sign in to comment.