Skip to content

Commit

Permalink
fix small bug with extensions
Browse files Browse the repository at this point in the history
Signed-off-by: ryandawsonuk <rd@seldon.io>
  • Loading branch information
ryandawsonuk committed Feb 27, 2020
1 parent f51b5e4 commit 92e2f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudevents/sdk/event/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def MarshalBinary(
if value is not None:
headers["ce-{0}".format(key)] = value

for key, value in props.get("extensions"):
for key, value in props.get("extensions").items():
headers["ce-{0}".format(key)] = value

data, _ = self.Get("data")
Expand Down

0 comments on commit 92e2f82

Please sign in to comment.