aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/add_person.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/add_person.py')
-rwxr-xr-xexamples/add_person.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/add_person.py b/examples/add_person.py
index 919a1a17..fd81c982 100755
--- a/examples/add_person.py
+++ b/examples/add_person.py
@@ -50,7 +50,7 @@ except IOError:
print sys.argv[1] + ": File not found. Creating a new file."
# Add an address.
-PromptForAddress(address_book.persons.add())
+PromptForAddress(address_book.people.add())
# Write the new address book back to disk.
f = open(sys.argv[1], "wb")