Skip to content

Commit 648c388

Browse files
committed
Merge pull request #52 from ixc/master
Fixed example in documentation that doesn't work as advertised.
2 parents a923cf2 + f6ff8f7 commit 648c388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ account if the account is already closed)::
128128
objectactions = []
129129

130130
# Actions cannot be applied to new objects (i.e. Using "add" new obj)
131-
if 'original' in context:
131+
if context.get('original') is not None:
132132
# The obj to perform checks against to determine object actions you want to support
133133
obj = context['original']
134134

0 commit comments

Comments
 (0)