Skip to content

Commit 404f6f4

Browse files
authored
Update README.md
1 parent 9aa7041 commit 404f6f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ computers = jps.records.Computers()
4949
if "test" not in computers:
5050
# Create the record (record is auto-saved)
5151
test_computer = jps.records.Computers().create({'general':{'name': 'test'}})
52-
safe_to_delete = True
52+
safe_to_delete = True # Remember that we created the record and delete it later
5353
else:
5454
# Get the existing record
5555
results = computers.recordsWithName("test")
56-
safe_to_delete = False
56+
safe_to_delete = False # Don't delete the record later
5757

5858
# Note, it's possible to create computers with the same name using the API, so you
5959
# must work with multiple records

0 commit comments

Comments
 (0)