Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Payload by default should be a dict
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Navarro Bosch committed Feb 13, 2017
1 parent 2153a9c commit 82861bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone.server/plone/server/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, object):
@implementer(IObjectEvent)
class ObjectModifiedEvent(object):

def __init__(self, object, payload=None):
def __init__(self, object, payload={}):
self.object = object
self.payload = payload

Expand Down

0 comments on commit 82861bd

Please sign in to comment.